1. If the Tomcat's port is set to 10000, the http: // localhost: 10000 Access is webapps directory
Context tags 2.Service.xml configuration, path + docbase of the properties of host.
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="c:\xx\a.jsp"></Context>
<Context path="x" docBase="c:\x\b.jsp"></Context>
<Context path="y" docBase="c:\y\y.jsp"></Context>
</Host>
note:
paht = "" is http: // localhost: 10000 visit is a.jsp
When path = "x", http: // localhost: 10000 / x access is x.jsp
When path = "y", http: // localhost: 10000 / y visit was y.jsp