> From: kikibobo [mailto:[EMAIL PROTECTED] 
> Subject: /, welcome files, and 404
> 
> I've got a spring 2 webmvc based webapp deployed on Tomcat 
> 5.5.20 that is exhibiting some curious behaviour.

I have a vague recollection that you have to configure welcome files
within spring, rather than within Tomcat, since spring essentially maps
everything in a webapp to its own dispatcher.  However, I'm not a spring
developer, so my memory could easily be faulty on that point.

> I can't figure out where the welcome file logic gets
> triggered

The welcome file settings are translated into servlet mapping rules -
there's no explicit code in DefaultServlet for them.  The welcome file
set is constructed in StandardContext.java, and then passed off to
org/apache/tomcat/util/http/mapper/Mapper.java for retention and
processing.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to