Access Tomcat project without username

Go to the conf folder of tomcat

vi server.xml

Find the host tag


Add to

<Context path="" docBase="project root directory" workDir="project root directory/WEB-INF/work" reloadable="false">
</Context>

Restart tomcat, access port 8080, not the tomcat page



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325730785&siteId=291194637