Fawad Ali wrote:Devaka:
I am replying so late to the thread but my concern here is that how do sites like google or yahoo finds the location of the client. Do they get the IP address and then search through some kind of database table or what? I have to show a client's location (country and City) on a web page but I do not know what will be the best way(approach) to do it.
Hi,
When google goes to that page, the page will show the location of the google spider (web crawler)
, not the location of the other clients. So getRemoteAddr should be fine.
D.