1.必要的jar包仍在必要的地方,如jsp使用的jar包放在Tomcat中而不是jdk中,虽然放在Jdk中可以使用
2.必要时禁止客户端缓存,添加:
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
3.在测试的时候发现因为出错,Tomcat服务器自动关闭。这是很可能是因为服务器出现严重错误。