Thank you very much for the advice. I've checked out the source code of portals-bridges/struts, and will take a look at it in the following days. In fact, the session binding problem in Pluto 1.1 comes from the cross context: in the processAction() method, portlet session is bound to the portal's servlet context, while in the render() method, portlet session is bound to the portlet app's servlet context.
I will check that issue on Pluto 1.0.1.
Regards.
2005/9/5, Ate Douma <[EMAIL PROTECTED]>:
Zhong ZHENG wrote:
> BTW, I've already refactoried the admin app by extracting out the
> portal-independent framework and trying to make it easier to use. During
> the refactoration, I referred to the implementation of Struts 1.2.7. Now
> the small portlet framework looks quite like Struts, but is much
> simpler, since lots of Struts features are not necessary to the admin app.
>
> But....the framework does not run well....because of a bug of portlet
> session binding in the container. I posted a mail to the mailing list
> yesterday to report the bug. Last sunday I spent a whole afternoon
> trying to figure that out....but failed.
Zheng,
I'm the creator of the Struts Bridge which I use for several projects using Jetspeed-2
and I never encountered your session binding problem.
But, Jetspeed-2 uses the Pluto 1.0.1-rc4 container and maybe you can test your
session problem against that container?
I know you want this working in Pluto 1.1, but then at least we have a better idea where
to look for the problem.
Ate
--
ZHENG Zhong
1 Avenue Alphand
75116 Paris, France
+33 6 76 80 45 90
heavyzheng {AT} gmail {D0T} com
http://heavyz.sourceforge.net
http://heavyz.blogspot.com
http://spaces.msn.com/members/zhengzhong