Character encoding JSP -displayed wrong in JSP but not in URL: “á » á é » é”

后端 未结 10 1757
忘掉有多难
忘掉有多难 2020-12-03 08:24

I have this Web Application in JSP running on JBoss Application Server. I am using Servlets for friendly urls. I\'m sending search parameters through my JSP\'s and Servlets.

10条回答
  •  北海茫月
    2020-12-03 08:51

    Check out the connecter setting in your tomcat config. There is an option (URIEncoding) you can set to treat URIs as UTF-8. By default they are treated as ISO-8859-1.

提交回复
热议问题