For example:
<?xml version="1.0" encoding="UTF-8"?> <Context antiJARLocking="true" path="/MyApplication"/>
http://www.mytomcatserver.com/MyApplication/index.html
When multiple applications are deployed on Tomcat, users' requests are sent to the proper application by checking each application's path. Longer matching paths have priority on shorter paths.
This file can be used to set some application configuration too (see the bottom of the Tomcat documentation page mentioned above) or a JNDI resource such as a data source for example.
No comments:
Post a Comment