[jboss-dev-forums] [Design of JBoss Portal] - Sharing session attribute between servelt and portlet
sbiwal
do-not-reply at jboss.com
Tue Apr 15 04:15:33 EDT 2008
Hi I am working with JBoss Portal 2.6.2, deployed with JBoss AS 4.2. I have the following situation -
A thirdparty class calls a servlet (myServlet). Now this servlet should update a portlet (myPortlet) based on the parameters sent by the thirdparty class.
In the doGet fucntion of myServlet I set the parameter received as a session attribute by -
request.getSession().setAttribute(param, value);
However when I get to the doView function of the portlet, this session attribute is lost.
If I try a vice-versa scenario (setting attribute in Portlet and then reading from servlet) it doesn't work either !!!
Please help !!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144151#4144151
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144151
More information about the jboss-dev-forums
mailing list