• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Going from Portlet to Servlet in WebSphere Portal

 
Ray Carrender
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application that needs to load the response header with values, being so I have to contact an HttpServlet and I'm passing the values in the post to the servlet. Some of the information can be considered protected information (like a username) and I really do not want those in a redirect.

What I've tried is:
(portlet)
prequest.setAttribute("tamCredential", tamCredential);
prequest.setAttribute("redirURL", redirURL);
prequest.getPortletSession().getPortletContext().getRequestDispatcher("/WebSealConversion").include(prequest, presponse);

but nothing happens, any idea why?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic