Fórumok
Servlet session access in portal context
joss ted, módosítva 13 év-val korábban
Servlet session access in portal context
New Member Bejegyzések: 22 Csatlakozás dátuma: 2010.11.22. Legújabb bejegyzések
Hello,
In my portlet JSP, I have a button, clicking on which takes me to a servlet. I have set an object in session in that servlet.
How do I get access to this servlet session in a header jsp which is at the portal context.
This portlet is in a seperate war file. I am using Liferay 6 deployed in Jboss.
Thanks in advance.
Regards,
Ted
In my portlet JSP, I have a button, clicking on which takes me to a servlet. I have set an object in session in that servlet.
How do I get access to this servlet session in a header jsp which is at the portal context.
This portlet is in a seperate war file. I am using Liferay 6 deployed in Jboss.
<portlet>
<portlet-name>Test</portlet-name>
<display-name>Test</display-name>
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
<init-param>
<name>view-jsp</name>
<value>/jsp/test/view.jsp</value>
</init-param></portlet>
Thanks in advance.
Regards,
Ted