Tomcat is indeed advanced than JSwdk because it comes with a tool for managing virtual directories: Admin Site. But by default, this site is not available. Because if you visit http://127.0.0.1:8080/admin/contextadmin/contextadmin.html through your browser, you will find a username and password. So how do you break this limit?
The first step: Modify the properties of the site admin in the conf / server.xml file, set trusted = "true", such as:
Step 2: Add an admin user in the conf / tomcat-users.xml file, such as:
Step 3: Start Tomcat.
This way you can use Tomcat to provide management tools. This tool provides functions such as adding, deleting, displaying, and other functions to virtual directories.