[jboss-user] [JBoss Portal] - Re: How to access HttpSession Attributes in a portlet.

apemberton do-not-reply at jboss.com
Tue May 26 21:02:05 EDT 2009


Not sure if the original author achieved success, but one way to handle this would be to access the servlet's session from the portlet through the PortletSession scope.

JSR168 and 286 allow sharing of a web-application's session with a portlet if they're pacakged together by accessing the "application scope" portlet session:

PortletSession.APPLICATION_SCOPE

Good luck,
Andy

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233448#4233448

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233448



More information about the jboss-user mailing list