File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 339
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: 339
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
client ip address
accessing tomcat default page
Get the real ip adress
filter or listener
How to restrict access through IP Adress