Hello, I did a JSP code that capture the NIC names, takes 1 of em, get the IP of it, then gets the mac address of that IP, and then depending on the MAC, gives the user his results. The thing is that is working on my pc, the localhost webserver successfully, BUT, when some1 connects to my pc and use the page, he doesnt get his mac address no his ip nor anything. instead he gets MY IP, MY mac, MY Hostname and MY results.

More info: using tomcat6
OS: ubuntu 9.10 linux

what must I do to make that code work on other pcs to get their mac and their results instead of mine?