-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
On 12/21/11 2:24 PM, André Warnier wrote: > Can you not use GeoIP to find out where a user is connecting from, > and select his time zone automatically for him/her ? (Saves your > conumdrum about how to display the choices) > > http://www.geoip.co.uk/ Looks pretty accurate for me : > > IP Address: 84.158.10.215 Country: Germany Country code: DE Region: > 01 Longitude: 48.4667 Latitude: 8.9333 So, now I get to try to figure out how to map your lat/long into a Time Zone? Also, your preferred time zone isn't always where you actually are. - -chris > Status: Clear Threat Level: 0 > > I have not looked further, but I would not be utterly surprised if > there existed already some Java servlet filter or so to get the > client's timezone automatically, and stuff it into some value which > you can grab. I Googled-around a bit and didn't find much. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7zp/gACgkQ9CaO5/Lv0PDDywCfamupPY93UwlDNkZGm5nOWqA/ aFoAoKfG+29twl6mWSW71jrrbNHHMGJm =5PcB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org