aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes cofusion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "cofusion" Watch "cofusion" New topic
Author

cofusion

champ sharma
Greenhorn

Joined: Aug 08, 2006
Posts: 4
can anyone help me out ..

A request from abc.def.com,with IP (say..172.11.32.215) ,whats the ServletRequest method to return this IP (172.11.32.215)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

getRemoteAddr() returns the Internet Protocol (IP) address of the client or last proxy that sent the request.


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: cofusion