Try changing your login.jsp in the following ways:

1.)  Add the Portlets tag library:

<%@ taglib prefix="portlet" uri="http://java.sun.com/portlet"; %>

2.) Use <portlet:defineObjects/> tag

3.) Change your session code to use the PortletSession instead of the 
HttpSession

Ultimately, your page should look something like this:


  | ...
  | <%@ taglib prefix="portlet" uri="http://java.sun.com/portlet"; %>
  | ...
  | <portlet:defineObjects/>
  | ...
  | ...
  | <% portletRequest.getSession.setAttribute("toto","youhou!!"); %>
  | ....
  | 

BTW - in JSP, the HttpSession is an implicit object so you can access if simply 
using session instead of request.getSession().

Hope this helps!


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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to