1.首先下载Tomcat和regain压缩包
2.解压regain包到tomcat路径中
修改配置文件即可
遇到的问题
1.搜索中文问题
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="utf-8"/>
需要添加这个项目
2.默认的首页跳转问题
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta http-equiv="refresh" content="0.1;url=regain">
<title></title>
</head>
<body>
</body>
</html>