6
我已经中tomcat-users.xml
如下:403访问在Tomcat中拒绝
<tomcat-users>
<role rolename="admin"/>
<role rolename="manager"/>
<user username="aname" password="apassword" roles="admin,manager"/>
</tomcat-users>
如果我去http://localhost:8080/manager/html
,我询问用户名和密码(据我了解,这些来自tomcat-users.xml
) ,但是当我输入它们时,我得到:
403 Access Denied
You are not authorized to view this page.
If you have already configured the Manager application to allow access and you have used your browsers back button...
什么可能是这种行为的原因?提前致谢。
谢谢,它的工作。你应该在这里的第三行添加'>'。 –
不客气,谢谢'''我没见过! –