yzc164 发表于 2017-1-18 08:18:58

tomcat manager的使用

1 定义一个管理员
tomcat-->conf-->tomcat-users.xml-->

<role rolename="manager"/>
<user username="admin" password="" roles="manager"/>


2 http://localhost:8080/manager
admin 空密码进去
3 可以上传WAR
还可以
Context Path (optional): /your_app_context_path 如:/struts2test
WAR or Directory URL: 要发布的应用的路径 如:file:/D:/projects/struts2blank/src/main/webapp
4 要把项目做成根目录下的 就要先删除TOMCAT自己的/下的应用 再弄成自己的
页: [1]
查看完整版本: tomcat manager的使用