Character encoding issue with Tomcat

后端 未结 3 2030
暗喜
暗喜 2020-12-05 11:06

There is strange character encoding going on. I am using JSP (JSTL) and Struts with Tomat 6.

I have my JSP page encoding as such:

<%@ page content         


        
3条回答
  •  借酒劲吻你
    2020-12-05 11:58

    Try setting the URIEncoding parameter of your tomcat connector (in the server.xml) to UTF-8:

    E.g.:

    
    

提交回复
热议问题