wood burning stoves 2.0*
The moose likes Servlets and the fly likes Can i get the client IP adress in my servlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Can i get the client IP adress in my servlet?" Watch "Can i get the client IP adress in my servlet?" New topic
Author

Can i get the client IP adress in my servlet?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
I have a servlet that runs in websphere, can i in any way, get the ip adress from the client, i want to log the ip adress ?



Frank

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

use

http://www.java-tips.org/java-ee-tips/java-servlet/how-to-get-the-client-address-in-a-servlet.html
Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 353
Thanks
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Frank Jacobsen wrote:Thanks


You are welcome
 
GeeCON Prague 2014
 
subject: Can i get the client IP adress in my servlet?