Hello, I know this question probably has popped up over and over but searching the forum yielded nothing and I am too overwhelmed with information via the internet search engine. My question is: How would you obtain a visitor's IP address that is visiting your webpage in Java if possible? Thank you.
first thing i came to:: but then got this link on my hosts servers i can add the code <!--#echo var="REMOTE_ADDR" --> to the page to show the visitor's IP I need to put it in a .shtml file though. same as ^^ i also found this link its php though
Java != Javascript I assume this would work in an applet: http://www.rgagnon.com/javadetails/java-0095.html