I figured this one out:

        
  | @In
  | private FacesContext facesContext;
  | 
  |  ...
  | 
  | public String someButton() {
  |     Object reqOb = facesContext.getExternalContext().getRequest();
  |     if (reqOb instanceof HttpServletRequest) {
  |         HttpServletRequest req = (HttpServletRequest) reqOb;
  |         String remoteAddr = req.getRemoteAddr();
  | 
  |         ...
  |     }
  | }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083581
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to