getPortletSession().getAttribute("xxx",PortletSession.APPLICATION_SCOPE)


-----Original Message-----
From: Brice Lambi [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 12:29 PM
To: Jetspeed Users List
Subject: Share data between servlet and portlet using session

Hello,
        I would like to set a session variable in a servlet and retrieve
it in a portlet.  Both are in the same application, but it doesn't
appear to work.  I've set an attribute using the HttpSession in a
servlet, but the attribute is null when I try to get it using the
PortletSession.  I've tried it the other way also, setting a variable in
a portlet and trying to retrieve it in a servlet.  That also does not
work.  Is there any way to accomplish this?

Thanks,
Brice


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message is a PRIVATE communication.
If you are not the intended recipient, please do not read, copy,
or use it, and do not disclose it to others. Please notify the
sender of the delivery error by replying to this message, and then
delete it from your system. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to