Redirecting from a Portal Servlet to a JSP page in a Portlet
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Redirecting from a Portal Servlet to a JSP page in a Portlet




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Redirecting from a Portal Servlet to a JSP page in a Portlet  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-23-06 12:35 PM

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 NullPointerEx
ception.


we tried the below code:

request.getRequestDispatcher("/sos/jsp/reports/MRRDetailList.jsp").include(r
equest, response);

Please refer the attched files if neccessary

Thanks,Harsha







[ Post a follow-up to this message ]



    Re: Redirecting from a Portal Servlet to a JSP page in a Portlet  
Bala Labhishetty


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-27-06 06:18 PM

why you are servlet, the same code can be use jsp backing beans? can u expla
in be which technology you are using means jsp or jsf?

If you really want to use servlet in portal application try to add iframe ta
g in one of your jsp and try it should work. In this servlet access session 
object and do accordingly.

Thanks & Regards,
Bala






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register