You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Georg Sauer-Limbach <gs...@gslweb.de> on 2006/06/10 23:13:21 UTC
Re: How to get client IP after client invoke method execute("ABC.
def" )
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:zhihan@lucent.com]
> Sent: 2006年6月7日 21:15
> To: 'xmlrpc-user@ws.apache.org'
> 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: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: xmlrpc-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org