在 Tomcat目录下\conf\context.xml中修改 ......... <Context reloadable="true"> ......... 修改之后:只要修改了Servlet就会重新加载工程,而不需要重启服务器