using the request object you can get this.
DHCP is not an issue. If you are attempting to
talk to a server from a client browser which is behind a proxy server/wall, this is when you get into the situation you mention. Not because of DHCP.
One other reason I can think of, in your JSP/Servlet maybe you are printing out the IP of the server and not that of the client. Even in this case you will see the same IP adress.
To get more info I would suggest that you use
nslookup command on the IP address you got and see what it maps to.
HTH.
- madhav
i am facing exactly the same problem. i want to retrieve the IP of the client, but am getting the same IP.
i have already posted to this forum, but have not received any convincing solutions.
please post to the forum if u can solve the prob.
keep progRamming...
-satyen
satyen:
i have already posted to this forum, but have not received any convincing solutions.
I read your post. I think you sadi you were behind a firewall (also called proxy
wall or proxy server). And the response I thought was correct in your case. If you are behind a proxy server, there is a 99.9% chance that you will always get the same IP address.
HTH.
- satya
ps: proxy server problems are not the same as DHCP.