Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-19 Thread Frank Otto
On Tue, Jan 13, 2009 at 10:25 AM, Frank Otto o...@delta-barth.de wrote: 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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-17 Thread Nils-Helge Garli Hegvik
? Maybe the information at http://wiki.apache.org/portals/Pluto/InstallPlutoGlassfish could be relevant. Nils-H On Tue, Jan 13, 2009 at 10:25 AM, Frank Otto o...@delta-barth.de wrote: The portlet and servlet are in the same war. I use glassfish with portlet container 1.0 for develop. I

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-16 Thread Frank Otto
it. Have you tried posting to their mailing list? Maybe the information at http://wiki.apache.org/portals/Pluto/InstallPlutoGlassfish could be relevant. Nils-H On Tue, Jan 13, 2009 at 10:25 AM, Frank Otto o...@delta-barth.de wrote: The portlet and servlet are in the same war. I use glassfish

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Frank Otto
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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Nils-Helge Garli Hegvik
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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Frank Otto
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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Nils-Helge Garli Hegvik
wrote: 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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Nils-Helge Garli Hegvik
://wiki.apache.org/portals/Pluto/InstallPlutoGlassfish could be relevant. Nils-H On Tue, Jan 13, 2009 at 10:25 AM, Frank Otto o...@delta-barth.de wrote: 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

Re: [S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Frank Otto
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

[S2] struts 2.1.3: share portlet session with servlet (yui ajax)

2009-01-13 Thread Frank Otto
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

Re: portlet with a servlet

2007-12-14 Thread Nils-Helge Garli Hegvik
Sorry I can't be of much help, as I have never tried a scenario like this. I assume this happens because the WSRP-container request and the servlet request acts as two different clients. I did find an interesting thread [1] that's not really the same as your problem, but might contain some

Re: portlet with a servlet

2007-12-14 Thread Brian Relph
Thank you for the response. After more investigation, and looking over the WSRP specification, it appears that the remote portlet producer is responsible for maintaining a users session with a portlet. The particular producer i am using is from ibm, and it seems that its interpretation (or maybe