2010/12/8 Lyallex <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to