This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a Servlet that need to handle the requests from different companies. How do I find the origin of the requests, i.e., from which company the request was sent? Can I get very fine level to know which computer send the request?
"I just use my muscles as a conversation piece, like someone walking a cheetah down 42nd Street." - Arnold Schwarzenegger
If a machine is behind a subnet, you're not going to be able to get it's internal IP.
Joined: Jan 26, 2004
If I use a wireless router which can be connected by many computers, Could I get the IP of the router? What if the router is installed in a home, in a hotel, or within a company network? I guess anything behind the router is in the subnet domain. Thanks.