修改Tomcat,添加URLEncoding时报错解决办法
来源:互联网 发布:时差查询换算器 软件 编辑:程序博客网 时间:2024/04/29 06:33
以前使用的Tomcat的版本是6.0.26,换成了新版本6.0.36。按照以前的设置,在server.xml文件中添加URLEncoding="GBK"时,启动后报错了。报错信息如下:
2012-12-13 9:09:33 org.apache.catalina.startup.SetAllPropertiesRule begin
警告: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'URLEncoding' to 'GBK' did not find a matching property.
从网上搜了一下给的解决方法很简单,修改server.xml中的protocol就可以了
修改前:
<Connector port="8080"protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URLEncoding="GBK"/>
修改后:
<Connector port="8080"protocol="org.apache.coyote.http11.Http11Protocol" connectionTimeout="20000" redirectPort="8443" URLEncoding="GBK"/>
重新启动Tomcat就可以了。
- 修改Tomcat,添加URLEncoding时报错解决办法
- Tomcat 设备URLencoding的作用
- 启动tomcat时报错
- 开户TOMCAT时报错
- myeclipse开启tomcat时报错:java.net.BindException: Address already in use: JVM_Bind的解决办法
- tomcat启动时报错:Multiple Contexts have a path of "/iecsr".解决办法
- Tomcat启动时报filterStart错
- 求助 tomcat使用时报错
- 【tomcat】启动时报错问题
- Oracle Tomcat连接时报错
- ssm启动tomcat时报错
- tomCat启动时报错EOFException
- MyEclipse添加JQuery时报错
- tomcat添加工程及启动时报错Could not load the Tomcat server....The configuration may be corrupt or incomplete.
- Tomcat启动时报异常:端口占用的解决办法
- myeclipce发布项目到tomcat时报错,java.lang.UnsupportedClassVersionError: Bad version number in .class fil解决办法
- RVCT远程登录时报错的解决办法
- QTP破解后打开时报错解决办法
- 侧栏漂浮
- Linux内核中的内存(三)
- 进制
- Linux操作系统登录帐户的管理和审计
- 统计字符串中大写字母的个数
- 修改Tomcat,添加URLEncoding时报错解决办法
- libdvbpsi1.0.0 pre2/pre3的一个小bug
- 浅谈代理服务器的作用
- dorado Datatable内数据禁止复制
- linux下邮件查看命令
- (转)ubuntu合盖无法唤醒
- 面试 笔试中的常见智力题 逻辑题
- 最简单的指来指去
- C programe (The first day of the training of cognizant )