Wiadomosc od Brice Lambi z 2006-09-21 18:29 brzmiala:
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?
Be sure you use PortletSession.APPLICATION_SCOPE, not
PortletSession.PORTLET_SCOPE (this is a default for the second method
argument).
--
pozdrawiam,
Jacek Wislicki
[EMAIL PROTECTED]
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]