wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes Liferay: Sharing session data between a portlet and servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Liferay: Sharing session data between a portlet and servlet" Watch "Liferay: Sharing session data between a portlet and servlet" New topic
Author

Liferay: Sharing session data between a portlet and servlet

Gerardo Ramirez
Greenhorn

Joined: Jul 25, 2006
Posts: 9
Any help is very much appreciated.

I'm trying to share session data between a Portlet and Servlet, and I am receiving a null object every time I launch both the portlet and the servlet and attempt to retrieve a session attribute.

Extra information: Using Liferay, server: Tomcat 5.5, Portlet and servlet live in the same war file....

Thanks in advance.
[ November 15, 2007: Message edited by: Gerardo Ramirez ]
Yongming Duan
Greenhorn

Joined: May 08, 2006
Posts: 2
Some advice can be finded in here:
http://weblogs.java.net/blog/wholder/archive/2005/02/session_session.html
 
Don't get me started about those stupid light bulbs.
 
subject: Liferay: Sharing session data between a portlet and servlet