Disabling server wide welcome-file settings for a specific application on JWS Tomcat
Issue
-
Our server wide
web.xml
file defines a specific welcome file list:<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list>
However, in one of our applications we use Spring to route the servlet and this welcome file list interferes with this functionality, causing the application to issue 404 status errors. We need to disable the server wide setting specifically for this application so it is able to route correctly.
Environment
- Red Hat JBoss Web Server (JWS)
- 5
- Tomcat
- 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.