Today, I work till midnight and waste much time for two stupid bug of Tomcat.
1. My configuration(locale web.xml) of a web service did not be active. That is, no mater what I modify the configuration and reload the application, it still no work.
For a long long long trace (for the correct application code and also tomcat re-installation twice), the problem is due to the file permission.
After I change it from 600 to 644, it works.
2. For servlet which setting correctly response and request charset, and content-type to UTF-8, the GET method for Chinese String is broken.
The final answer to solve it is modify the global web.xml configuration and adding the
URIEncoding="UTF-8" into the Connector.
The two bugs wasting much more time for me and they are all stupid which make me cry.