[jboss-user] [JBoss Seam] - ServletContexts component returns null request during Servle

jacob.orshalick do-not-reply at jboss.com
Fri Jan 18 09:44:41 EST 2008

The ServletContexts.instance().getRequest() currently returns null during a JSF request. I would think this should be returning the ExternalContext for a JSF request if the request is a Servlet request (the type of the ExternalContext is not guaranteed since could be in a portal environment).

UserPrincipal, IsUserInRole, and other seam components rely on the ServletContexts instance to return the current HttpServletRequest.  Has anyone else run into this issue?  Thanks.

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

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

More information about the jboss-user mailing list