on 10-03-2005 8:48 PM
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?
You don't have to modify portalapp.xml to do that.
Based on a condition u cud use
this.setJspName("first.jsp"); or this.setJspName("second.jsp");
Use switch n case to check the condition.
Let me know if u need more..
Regards,
P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.