This is a good cleanup. I one question for confirmation, let's say we have this config: <welcome-file>index.html</welcome-file> <welcome-servlet>index.do</welcome-servlet> <welcome-file>index.htm</welcome-file>
With -- request = /foo/ -- AND file exists of = /foo/index.htm Since index.htm exists, we'd process as /foo/index.htm despite it being "3rd" in the welcome file list since welcome-file's are processed first. Is the above interpretation correct? Use case where the above might occur: web.xml has <welcome-file>index.html</welcome-file> <welcome-servlet>index.do</welcome-servlet> Then there is an included fragment <welcome-file>index.htm</welcome-file> So that we have a welcome-file after a welcome servlet in the final config. -Tim On Wed, Jun 25, 2025 at 3:19 AM Mark Thomas <ma...@apache.org> wrote: > All, > > Servlet 6.2 intends to address a long standing (more than 10 years) > issue with welcome files. Consider the following: > > PR: https://github.com/jakartaee/servlet/pull/881 > > Issue: https://github.com/jakartaee/servlet/issues/20 > >