例子:
1、在tomcat server.xml文件配置加上这句话:
<Context debug="0" docBase="C:UsersadminDesktop项目WebRoot" path="/项目" reloadable="false" />
2、也不用再部署项目啦: