[jboss-user] [JBoss Seam] - Re: Getting an attribute from HttpSession into a SFSB seam c

amitev do-not-reply at jboss.com
Mon Jul 9 12:12:54 EDT 2007


One possible way is to let seam inject you the Faces contex. And then get the http session from there:


  | @In
  | FacesContext fc;
  | 
  | public void ....() {
  |   HttpSession session =  (HttpSession) fc.getExternalContext().getSession(..);
  | }
  | 

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

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



More information about the jboss-user mailing list