解决tomcat下的URL中文乱码问题的方法
1)tomcat下的conf/server.xml
两处加上URIEncoding="UTF-8"
如下:
[code=java]
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
...
在server.xml中有配置的。
<Connector port="8080"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
acceptCount="100"
/>
1.1 - Server
A Server element represents the entire Catalina servlet container. (Singleton)
1.2 - Service
A Service element represents the combination of one or more Connector components that share a single Engine
...
重装机器遇到,为了不安装那个简单的tomcat5, 决定使用以前的完整zip版本,而不是去安装新tomcat5.直接启动.
service.bat install tomcat5 安装完毕
net start tomcat5
表现如下
Apache Tomcat 服务因 0 (0x0) 服务性错误而停止。2007-08-01 09:59故障现象:
[2008-02-01 09:02:56] [173 javajni.c] [error] 找不到指定的模块。
...