1:tomcat7开启远程debug模式:
./catalina.sh jpda start
2:tomcat支持URL中文,解决tomcat get请求乱码问题(在TOMCAT_HOME/conf/sever.xml中配置):
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
1:tomcat7开启远程debug模式:
./catalina.sh jpda start
2:tomcat支持URL中文,解决tomcat get请求乱码问题(在TOMCAT_HOME/conf/sever.xml中配置):
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />