This week's book giveaway is in the Design forum.
We're giving away four copies of Mastering Non-Functional Requirements and have Sameer Paradkar on-line!
See this thread for details.
Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cofusion  RSS feed

 
champ sharma
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getRemoteAddr() returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!