Skip to Content
0
Former Member
Oct 03, 2005 at 07:48 PM

how to control calling jsp in jspdynpage-portalapp.xml file

27 Views

hi

i have created a jspdyn project. I have a jsp pages that will only be called at a certain point.

if i remove this statement

<b><property name="JSP" value="pagelet/display.jsp"/></b>

and add in this code in doProcessBeforeOutput():

<b>

IResource aResource = null;
aResource = request.getResource("jsp", "pagelet/display.jsp");

</b>

This does not work..The error:"page could no create ivew".

How can i call the jsp page when i need to?