Getting hold of an IP address

2010-12-08 Thread Lyallex
Hi apache-tomcat-6.0.16 jdk1.6.0_03 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 I've had a good

Re: Getting hold of an IP address

2010-12-08 Thread Konstantin Kolinko
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

Re: Getting hold of an IP address

2010-12-08 Thread Lyallex
On 8 December 2010 10:04, Konstantin Kolinko knst.koli...@gmail.com wrote: ServletRequest.getRemoteAddr() (In a Filter.  There is no request in HttpSessionListener). Best regards, Konstantin Kolinko ahem ... yes, well that was easy wasn't it In my (weak) defense it's been a long while