84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
在linux上部署了一个tomcat7的服务器。本地Java打war放上去,用chrome访问主页html中文显示乱码。各自方式都试过了,修改tomcat的service.xml,pom.xml文件的打包限制字符集。linux服务器本身是utf-8的,所以不用改。打包之后的war包解压之后用记事本打开,看到的字符集是utf-8。现在不知道问题出在哪儿。有没有大神帮忙解惑?!!感谢万分
走同样的路,发现不同的人生
Add uriencoding=utf-8 at 8080 in web.xml
Add uriencoding=utf-8 at 8080 in web.xml