|
Home > Archive > WebSphere Portal Server > November 2006 > Redirecting from a Portal Servlet to a JSP page in a Portlet
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Redirecting from a Portal Servlet to a JSP page in a Portlet
|
|
|
| How do i Redirect from a Portal Servlet to a JSP page in a Portlet?
Flow is mentioned below:
From MRRDetailList.jsp ,we call PrintServlet on click of the href(IMAGE).
In Servlet some process of connecting to database is done.
AFter the process we are not able to return to same jsp(MRRDetailList.jsp).
We used ServletException function getRootCause() which returns NullPointerException.
we tried the below code:
request.getRequestDispatcher("/sos/jsp/reports/MRRDetailList.jsp").include(request, response);
Please refer the attched files if neccessary
Thanks,Harsha
| |
| Bala Labhishetty 2006-11-27, 1:18 pm |
| why you are servlet, the same code can be use jsp backing beans? can u explain be which technology you are using means jsp or jsf?
If you really want to use servlet in portal application try to add iframe tag in one of your jsp and try it should work. In this servlet access session object and do accordingly.
Thanks & Regards,
Bala
|
|
|
|
|