First on error code
our custom class and a LocaleResolver implement this interface.
Start request field value of l is obtained, if the request is not the parameter domain, it is the default value, otherwise, the value taken into the object and returns the locale.
Now can not realize the function,
the need methods make spatially resolved injected into the container, we take to get values.
But at run time, reported the following error
java.lang.ArrayIndexOutOfBoundsException: 1
? ? ? What is a ghost? ? ? Array subscript out of bounds? ?
Very strange
I looked at the value of the request pass over the field find it to be split with an underscore, and the comma I used in the code division. It should be to the same domain request and value it, (and if wrong, please contact me modify, thank you)
Then, in the page, in English and can be switched to normal.
And then you have to configure the local configuration file
which is the code page
After the success of last put pictures