wood burning stoves 2.0*
The moose likes Servlets and the fly likes *welcome-file-list* on tomcat 4.0.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "*welcome-file-list* on tomcat 4.0.3" Watch "*welcome-file-list* on tomcat 4.0.3" New topic

*welcome-file-list* on tomcat 4.0.3

Asher Tarnopolski
Ranch Hand

Joined: Jul 28, 2001
Posts: 260
hey folks,
<welcome-file-list> doesn't work at all on my
tc 4.0.3. the server continues its default behavour and loads the list of the files in the chosen directory instead of the <welcome-file>.
did anyone have such problem?

Asher Tarnopolski
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
Hi Asher,
put your <welcome-file-list> after the <servlet> and restart Tomcat to try it again. I give you here an example of my own web application:
<param-value>My parameter works</param-value>
I hope it can help you.
It is sorta covered in the JavaRanch Style Guide.
subject: *welcome-file-list* on tomcat 4.0.3
Similar Threads
Changing index.html to home.jsp on Tomcat 5
default servlet??
Qn on welcome-file-lsit tag
web.xml causes 404 error