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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to