【Tomcat】配置Web界面管理

到Tomcat的cof目录下的tomcat-users.xml文件进行配置

配置如下:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="admin-gui" />
<role rolename="admin-script" />
<role rolename="manager-gui" />
<role rolename="manager-script" />
<role rolename="manager-jmx" />
<role rolename="manager-status" />
<user username="tomcat" password="tomcat"
roles="manager-gui,manager-script,manager-jmx,manager-status,admin-script,admin-gui" />
</tomcat-users>

上一篇:MVC4 Controller器同名问题


下一篇:CSS3的三大特性