How to let Tomcat support Chinese file name???

xiaoxiao2021-03-06  41

How to let Tomcat support Chinese file name ??? The picture is not shown.

Liang Chaowei.doc ' Can't prompt to open or download a solution: add this sentence to your JSP file, the most beginning (here is here Solve the problem that cannot be displayed in Chinese): <% @ page language = "java" contentty = "text / html; charset = GB2312"%> then change Tomcat's server.xml file (here is a file containing Chinese, the image cannot download, display problems):

Uriencoding = "UTF-8" plus this sentence to identify Chinese files, that is, not only to display Chinese in JSP, but also download display.

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

New Post(0)