tomcat7默認不容許admin登錄,安裝後須要手動進行設置才能登錄tomcat
1.在X:\tomact\conf\tomact_user.xml ide
<tomcat-users> ui
<role rolename="manager-gui"/>xml
<role rolename="admin-gui"/>ip
<role rolename="manager-script"/>it
<user username="tomcat" password="tomcatb" roles="admin-gui, manager-gui,manager-script"/>class
</tomcat-users> gui
2.訪問管理界面:word
http://192.168.0.135:8080/manager/di