Visit the url package's name without war

In Tomcat's server.xml, configure

<Context   path="/"   docBase="test.war"  reloadable="true" privileged="true" debug="0" />

For access url without deployment package name

http:localhost:8080/

Guess you like

Origin www.cnblogs.com/darcy-hui/p/12574907.html