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.
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.