jsp - IP of request

by raja 2010-01-28 19:15:56

The following lines all return the ip address of the client.



request.getRemoteAddr()
request.getRemoteHost()
request.getHeader("x-forwarded-for")


Tagged in:

820
like
0
dislike
0
mail
flag

You must LOGIN to add comments