Jun 29th, 2012, 04:49 AM
How to use Spring MVC for country selection
I am using Spring MVC, what would be a good way to implement this scenario:
A user selects their preferred country and the url changes from
foo.mycompany.com/gb to foo.mycompany.com/fr
This will affect all my controllers so would I use a regex in all the @RequestMapping or does Spring have other methods of dealing with these scenarios?
An example of one of my controller request mapping is @RequestMapping(value = "/login")
Tags for this Thread