[jboss-user] [JBoss Seam] - Re: keeping context using external webapp

ollix do-not-reply at jboss.com
Thu Mar 29 13:24:07 EDT 2007


ok, i found a solution. not very elegant, but it works.


  | @Name("jsessionId")
  | public class SessionIdHelper {
  | 
  | 	@Override
  | 	public String toString() {
  | 		return ((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getSession().getId(); 
  | 	}
  | 
  | }
  | 

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

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



More information about the jboss-user mailing list