Issue about Tomcat 5.5 "ROOT" directory.
Posted
by Captain Kidd
on Stack Overflow
See other posts from Stack Overflow
or by Captain Kidd
Published on 2010-06-13T06:09:38Z
Indexed on
2010/06/13
6:12 UTC
Read the original article
Hit count: 271
tomcat
Now I specify a directory name for "appBase" attribute on "{TomcatHome}/config/server.xml".
<host appBase="d:/aaa">
<Context docBase="d:/aaa/bbb"> </Context>
</host>
When I navigate URL to "http://localhost:8080", TOMCAT think "d:/aaa/ROOT" as application directory.
I want to know how can I modify this mechanism to make TOMCAT auto search my specified directory.
For example: When I input "http://localhost:8080", TOMCAT would search "d:/aaa/{SpecifiedDirectoryName}/"
© Stack Overflow or respective owner