Chinese problem solving

zhaozj2021-02-16  47

1. Add: Note: Yes" Web-App_2_3.dtd "instead of" web-app_2_2.dtd "

2. Then add: set character encoding gumpgz.Filter.SetChacTerencodingFilter Encoding GB2312 ignore True set character encoding action Note: "setcharacterencodingfilter" can be found in Tomcat / WebAPPS / Filters. Encoding must write "GB2312" and cannot write "GBK"

3. Add: <% @ page contenttype = "text / html; charSet = GB2312"%>

This method is tested, and the test is tested in Struts and other.

转载请注明原文地址:https://www.9cbs.com/read-16351.html

New Post(0)