In a project written with struts, the foreground has a hyperlink that sends the request to the background and passes the value of the variable containing the Chinese. The result was a mistake. However, this value is not a problem when it is delivered in a form by post.
The parameters of a hyperlink are passed in a get way, and it is not the same way to find the delivery on the web.
The general understanding is that the post method is encoded in the encoded format specified in the page, and the Get method needs to be passed by URL, so it is coded differently.
Therefore, the variables passed by the Get mode are best received in the form of a new String (Xxx.getbytes ("iso-8859-1"), "Utf-8".
Some people say that you can modify the encoding of the filter in Tomcat, but do not arbitrarily modify the good, can be modified at the lowest cost the best.