[jboss-dev-forums] [Design of JBoss Portal] - Re: Sharing session attribute between servelt and portlet

chris.laprun@jboss.com do-not-reply at jboss.com
Tue May 13 05:20:43 EDT 2008


Sharing session data indeed only works for portlets and servlets bundled in the same web application (war file).

I think the problem here is that the name of the param is namespaced for the portlet so if you set a param called "foo" in the portlet session, you cannot access it using just "foo" in the servlet. Please look at the servlet specification for the namespace format.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150289#4150289

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150289



More information about the jboss-dev-forums mailing list