| Author |
welcome-file-list question
|
Asher Tarnopolski
Ranch Hand
Joined: Jul 28, 2001
Posts: 259
|
|
hey folks, i have no problem using welcome-file-list to disable the directory listenings while using it in CATALINA_HOME/webapps/myapp. on tomcat 4.0 there is a CATALINA_HOME/webapps/ROOT directory where you can place jsp files that will run too. (useful for testing purposes). playing with this i've found that when i make a welcome-file-list entry in the web.xml in CATALINA_HOME/webapps/ROOT/WEB-INF directory, it doesn't work. the ROOT directry is still avaliable for direct listenings... do you have any ideas if it's a bug, it's built this way, or there is something i didn't understand ? tia,
|
Asher Tarnopolski
SCJP,SCWCD
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11863
|
|
In the HOME/conf/web.xml file there is a section for the default servlet - it has this parameter Make that value false and you should never see a directory listing. Bill
|
Java Resources at www.wbrogden.com
|
 |
Asher Tarnopolski
Ranch Hand
Joined: Jul 28, 2001
Posts: 259
|
|
|
this works, thank's
|
 |
 |
|
|
subject: welcome-file-list question
|
|
|