You can't get the country name by simply reading a request parameter. It
can be done, however, by examining the IP address and then looking up the
results in a database that maps IP addresses to their countries. There is
a software package that will do it for you. Check out IPCRACK at
http://www.component2k.com/ It is probably not 100% accurate since the
mapping table would have to be updated regularly but it might be sufficient.
-Richard
At 09:37 PM 8/26/01 -0700, you wrote:
>hi everybody
>
>I want to get the country name from where request is
>sent. Any anybody tell is there any header field in
>servlet to check this.
>
>thanx in advance
>
>Sharad
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html