• 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!
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!