This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Liferay: Sharing session data between a portlet and servlet
 
It's not a secret anymore!