Thanks for the reply Stuart. The javadoc isn't really prescriptive enough however. I'm parsing a web.xml and adding servlets dynamically. In that manner, how would I know if a given servlet was going to serve JSPs or was the default servlet?
You are unlikely to ever need this unless you have a servlet that processes or serves resources and want to perform welcome file mappings.
Well, yes, that actually applies to me :) I'm using Undertow to start up ColdFusion servers which in addition to usually running JSP if you want, use wildcard mappings and have welcome files. A ColdFusion server has several mappings in place though. In addition to the wildcard ones similar to *.cfm or /index.cfm/* it also has mappings for /flex2gateway/* and I'm seeing incorrect behavior where my welcome files are getting crammed into the flex gateway URLs where they don't belong, thus my question.
But my code isn't manually creating the mappings. Like I said above, I'm parsing a web.xml and adding the mappings dynamically, which puts me back to my original question. I don't think RequireWelcomeFileMapping should be set for all mappings, but I'm unclear on how to tell the difference programmatically. How do other servlets such as Tomcat handle this when loading my mappings from my web.xml?
I'm attaching an example web.xml so you can see what I'm talking about.
Thanks!
~Brad
Developer Advocate
Ortus Solutions, Corp