tomcat
conlin day
这个作者很懒,什么都没留下…
展开
-
The valid characters are defined in RFC 7230 and RFC 3986
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 request请求中,请求参数为param={json} 使用tomcat版本为apache-tomcat-8.0.53、apache-tomcat-7.0.91 都报相同的问题 最后通过修改conf/catalina.prope原创 2021-11-18 19:08:22 · 853 阅读 · 0 评论 -
单体架构下tomcat的一些常用配置
个人学习笔记 1、配置编码格式 ·· URIEncoding="UTF-8" ·· <Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" URIEncoding="UTF-8"/> 2、配置协议(protocol) 使用的网络协议,表示tomcat使用何种方式来接受和处理client端请求,“HTTP/1.1"是默认值,等效"org.apache.coyote.http11.Http11Protocol”;原创 2020-06-24 15:06:09 · 253 阅读 · 0 评论