[jboss-user] [JBoss Seam] - Re: Accessing HttpSession in Jboss Seam

smithbstl do-not-reply at jboss.com
Wed Oct 3 13:19:48 EDT 2007


I don't think this is really a Seam issue but rather JSF

FacesContext context = FacesContext.getCurrentInstance();
  |     HttpSession session = (HttpSession) context.getExternalContext().getSession(false);

Of course you can use a Seam API to get the FacesContext

org.jboss.seam.core.FacesContext

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

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



More information about the jboss-user mailing list