I typically get the setting from the browser locale and language.

Joaquin 

> On Jul 9, 2017, at 11:18 AM, Heather and Jon Turgeon 
> <tashiba40_evergr...@hotmail.com> wrote:
> 
> Hi all, I am trying to get the users general location server side (the 
> country). I have tried getContext().getRequest().getRemoteAddr(); bu that 
> just returns 0:0:0:0:0:0:0:1 (was going to use a web service to get the 
> country from the IP address). Has anyone been able to do this and if so can 
> you point me in the right direction? Thanks again.
> 
> 
> Jon
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to