it is not possible because the sessions are not the same.

one thing you can do is put a jsp in your webapp containing your portlet and 
request dispatch to it with a cross context call similar to :


  | req.setAttribute("blah", "blah");
  | RequestDispatcher rd = 
getServletContext().getContext("/myapp").getRequestDispatcher("/my.jsp");
  | rd.include(req, resp);
  | 

and in the jsp


  | String s = (String)req.getAttribute("blah");
  | HttpSession ses = req.getSession();
  | ses.setAttribute("blah", "blah");
  | 


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

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


-------------------------------------------------------
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