[jboss-user] [JBoss Seam] - Simple question: finding the client IP address in a session

SmokingAPipe do-not-reply at jboss.com
Fri Jan 5 23:11:58 EST 2007


Let's say I'm writing a session bean that does logins.  I may want to log the client IP addresses as they make their attempts.  Is there some elegant Seam-style injection way to get an IP address?  I tried this:

@In("#{request.remoteAddr}") private String ipString;

but it did not work.


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

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



More information about the jboss-user mailing list