How can i trace the users IP address from a web application
i tried with some existing methods in java. but its showing servers IP address
InetAddress ip;
String hostname;
ip = InetAddress.getLocalHost();
hostname=ip.getHostName(); // to get system name
ip.getHostAddress() // to get IP address
But its showing server IP for all login traces..