| Author |
*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? 10x. Ash.
|
Asher Tarnopolski
SCJP,SCWCD
|
 |
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: <web-app> <servlet> <servlet-name>MyServlet</servlet-name> <servlet-class>MyFirstServlet</servlet-class> <init-param> <param-name>msg</param-name> <param-value>My parameter works</param-value> </init-param> </servlet> <welcome-file-list> <welcome-file>ShowMessage.html</welcome-file> </welcome-file-list> </web-app> I hope it can help you.
|
 |
 |
|
|
subject: *welcome-file-list* on tomcat 4.0.3
|
|
|