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

Reply via email to