Getting IP address with JSP
843836Apr 6 2004 — edited Apr 7 2004Hi,
i'm sure this was discussed a lot of times but I can't get it done.
I'm trying to get the IP address of the client requesting a JSP from a server.
What I have so far is <%= request.getRemoteAddr() %> :/
This seems to display only the remote IP of the last host that sent the request. How can I get the IP of the client that originally requested the JSP? Is this possible at all?
Thanks a lot,
Thomas