I think
  MessageContext.getCurrentContext().getProperty("remoteaddr")
would give you the same thing.

Dave

Pathuru, Kiran wrote:

Please ignore this message as I found the solution in a message posted
earlier. The solution is as follows if anyone is interested...

HttpServletRequest req =
(HttpServletRequest)MessageContext.getCurrentContext).getPropertyHTTPConstan
ts.MC_HTTP_SERVLETREQUEST);

Thanks once again for Vitali for the solution..

-----Original Message-----
From: Pathuru, Kiran [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 5:58 PM
To: '[EMAIL PROTECTED]'
Subject: finding ip address of client


hi,


Can anybody suggest me how can find the IP address of the client from where
I am getting requests. Or atleast how to get the request object, so that I
can use request.getRemoteAddr() method... Any ideas where I can look into..

Regards,
kiran pathuru
http://www.ect-telecoms.de
Tel: +49 89 552947 825
---
[This E-mail scanned for viruses by Declude Virus]






---
[This E-mail scanned for viruses by Declude Virus]



Reply via email to