[jboss-user] [JBoss Seam] - UserPrincipal can Lifecycle.getServletRequest but I cannot ?
codelion
do-not-reply at jboss.com
Thu Mar 8 11:24:20 EST 2007
I see in UserPrincipal.java a
ServletRequest servletRequest = Lifecycle.getServletRequest();
I am trying the same in a Seam component
@Name("tricky")
| public class Tricky {
of mine where I'd ultimately like to get to the headers.
Problem is when I'm having a page action calling an action in Tricky then Lifecycle.getServletRequest() returns null.
How do I get to the ServletRequest or the headers inside an action method?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026299#4026299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026299
More information about the jboss-user
mailing list