[jboss-user] [JBoss Seam] - Re: Obtaining user's host information

nickarls do-not-reply at jboss.com
Tue Feb 5 02:02:18 EST 2008


Something like


  | HttpServletRequest r = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
  | log(r.getRemoteHost());
  | 

? You should also be able to look at the request headers etc. from there.

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

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



More information about the jboss-user mailing list