Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Liferay: Sharing session data between a portlet and servlet

 
Gerardo Ramirez
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some advice can be finded in here:
http://weblogs.java.net/blog/wholder/archive/2005/02/session_session.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic