-- %TOMCAT_HOME%\conf\server.xml 搜索8080, 改成其他端口号
-- remove the x-powered-by and server info in the response header
https://forums.oracle.com/forums/thread.jspa?threadID=2430035
-- jsp on time ---> servlet
<!-- development Is Jasper used in development mode? If true, -->
<!-- the frequency at which JSPs are checked for -->
<!-- modification may be specified via the -->
<!-- modificationTestInterval parameter. [true] -->
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
与手动删除work/下 效果一样
<Context path="/test" docBase="D:\develop\test"
debug="0" privileged="true" reloadable="true"/>
-- remove the x-powered-by and server info in the response header
https://forums.oracle.com/forums/thread.jspa?threadID=2430035
-- jsp on time ---> servlet
<!-- development Is Jasper used in development mode? If true, -->
<!-- the frequency at which JSPs are checked for -->
<!-- modification may be specified via the -->
<!-- modificationTestInterval parameter. [true] -->
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>development</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
与手动删除work/下 效果一样
<Context path="/test" docBase="D:\develop\test"
debug="0" privileged="true" reloadable="true"/>