eclipse tomcat jsp乱码

项目工程上右键->resourses 选字符集

通过eclipse设置tomcat字符集可能不明原因不起作用,直接在tomcat 的server .xml 中添加<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="gbk" />

posted @ 2019-07-23 15:55  gsx  阅读(161)  评论(0编辑  收藏  举报