5 Replies Latest reply on Jan 7, 2007 2:40 AM by norman.richards

    Simple question: finding the client IP address in a session

    smokingapipe

      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.