| Author |
Can you get client location from HttpServletRequest
|
Ronwaldo Cruz
Ranch Hand
Joined: Oct 17, 2006
Posts: 69
|
|
Hi. Is it possible to get client location information from HttpServletRequest? Sort of like how google knows which location I am from just by typing http://www.google.com and then it changes to http://www.google.com.ph
|
 |
Sravan Kumar
Ranch Hand
Joined: Sep 11, 2005
Posts: 121
|
|
|
ServletRequest.getRemoteXXX() methods should help you out.
|
keep smilin :: sravan<br /><a href="http://sravanpens.blogspot.com" target="_blank" rel="nofollow">I scribble here</a>
|
 |
Sravan Kumar
Ranch Hand
Joined: Sep 11, 2005
Posts: 121
|
|
|
getLocale() and getLocales() in ServletRequest will give you the accepted locales.
|
 |
 |
|
|
subject: Can you get client location from HttpServletRequest
|
|
|