I'm writing a custom CookieLocaleResolver and I have a small problem when retrieving cookies. The reason for the custom CookieLocaleResolver is the following: we are using a spring web application together with a CMS system. The latter creates a locale cookie which we wish to use/detect in our spring application. Can anybody tell if it is possible to retrieve this cookie and if so how I can do this?
The following code seems not be working:
Cookie domainLocaleCookieObj =