Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
Returns: a String containing the IP address of the client that sent the request
F.<br />SCJP, SCJD, SCWCD, SCBCD<br /> <br />Failure is not an option... It comes with the software bundle.
Joined: Oct 24, 2004
thank u i got it .... well i want all the information passed by the user and create an XML file for passing this information to another server . how can i do this.
thank u once again
Joined: Jul 12, 2004
It goes back to HTTP request. All the info you received from the request are the only you can use. Look at the ServletRequest interface and HttpServletRequest. Does interface/classes will give you all the info that you can obtain from the client.