The portlet and servlet are in the same war. I use glassfish with
portlet container 1.0 for develop.
I have read the emptySessionPath must be true for the connector
(tomcat). How can I set this for classfish?
Nils-Helge Garli Hegvik schrieb:
Are both the portlet and the servlet in the same application (war
file)? What container are you using?
Nils-H
On Tue, Jan 13, 2009 at 9:55 AM, Frank Otto <o...@delta-barth.de> wrote:
hi,
I have a portlet with struts. It works fine, but I can't share objects in my
portlet session with the servlet/action for yui ajax calls.
I set in my porlet struts 2 action an object in the portlet session:
portletRequest.getPortletSession().setAttribute(MY_KEY,
mySessionObject, PortletSession.APPLICATION_SCOPE);
In the yui action I want get the object from the session scope:
mySessionObject= (MySessionObject)
servletRequest.getSession().getAttribute(MY_KEY);
But is it null. I have no idea. I wonder that the session id for the portlet
request is other than in the servlet request.
Can someone help me please?
kind regards,
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org