The servlet API supports this.

On your XML-RPC server, you are most likely deriving
from XmlRpcServlet (see
http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/webserver/XmlRpcServlet.html
)
which has a parameter pRequest which is of type
javax.servlet.http.HttpServletRequest, which has a
method getRemoteAddr(), which returns the client's IP.

Regards
Georg

Han, Zhi (Zhi) wrote:
> Anybody can give me an answer?
> 
> -----Original Message-----
> From: Han, Zhi (Zhi) [mailto:[EMAIL PROTECTED]
> Sent: 2006年6月7日 21:15
> To: '[email protected]'
> Subject: How to get client IP after client invoke method
> execute("ABC.def" )
> 
> 
> I want to get the client IP after a server method is invoked. which API
> support this function, thanks.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to