portlet « Session « JSP-Servlet Q&A





1. Accessing http session in portlet    stackoverflow.com

A jsp script saves values in the session. Use the following code to save in the session:

session.setAttribute("UserType", "customer");
These values need to be accessed in a jboss portlet. Use the following code ...

3. share session data between portlets and a jsp of the portal theme    coderanch.com

Hello! sorry for my English. I'm new using portlets.I have a problem. I'm using portlets and a websphere portal server. I have a jsp in the theme of my portal and in this jsp i call a java class to save an attribute into the session. Now using portal url generation i go to a portlet and i want to read ...

4. Portlet, Servlet & HttpSession    liferay.com

5. Portlet - servlet session different on virtual host deployment    liferay.com

In my Liferay 5.2.3 portal implementation I use set of Spring portlets that use ajax. A portlet receives ajax request action, prepares JSON data and redirects to a servelt. My portlets and this servlet are deployed through opencombine.war. When I deploy opencombine.war in a typical lfieray installation with bundled tomcat, everything works perfectly. My portlet serving ajax request has url http://localhost:8080/web/guest/hiring?...(I ...

7. Accessing session attributes set by portlet in a servlet    liferay.com

Users can log into my portlet application via 1. Default Liferay Sign in mechanism - on logout users should be taken to a login screen, this works fine 2. Integrated sign-in from another application via a form post in which case the sign in page/portlet is not displayed - on logout users should be taken to a static 'you have been ...