my dog learned polymorphism*
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: 348
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: 348
Thanks
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Frank Jacobsen wrote:Thanks


You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i get the client IP adress in my servlet?
 
Similar Threads
accessing tomcat default page
client ip address
How to restrict access through IP Adress
Get the real ip adress
filter or listener