File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: *welcome-file-list* on tomcat 4.0.3
It's not a secret anymore!