2010/12/8 Lyallex <lyal...@gmail.com>:
> My application contains instances of
> javax.servlet.http.HttpSessionListener
> and
> javax.servlet.Filter
> (among other classes of course)
>
> My question is, is it possible to obtain the originating IP address of
> a request from either of these classes
>

ServletRequest.getRemoteAddr()

(In a Filter.  There is no request in HttpSessionListener).

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to