----- Original Message -----
From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Developers List" <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 3:59 AM
Subject: [5] welcome files not compliant?


> The default tomcat install has a welcome file list of:
> index.html
> index.htm
> index.jsp
>
> On a HEAD build with no changes to ROOT webapp - all is OK. But if I
create a
> file index.html, then index.jsp still gets served.
>
> On a (very)quick glance of the mapper, I see rule 4 and 6:
> // Rule 4 -- Welcome resources processing for servlets
> // Rule 6 -- Welcome resources processing for physical folder
>
> This leads me to believe that servlets get served as welcome files before
> physical files can be served which doesn't follow the order constaint.

I've been meaning to get around to that one.  Yes, it's broken.

>
> As a bonus question: Do we still need any welcome file processing anymore
in
> default servlet since the decoding is done in the mapper? Or can the
default
> servlet immediately return the directory listing (or forbidden) on
directory
> match?

Probably not.  And since the way DefaultServlet handles welcome-files is now
forbidden in the spec we might as well get rid of the processing.

>
> -Tim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication in 
error, please notify us immediately by e-mail and then delete all copies of this 
message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the 
Internet is not secure. Do not send confidential or sensitive information, such as 
social security numbers, account numbers, personal identification numbers and 
passwords, to us via ordinary (unencrypted) e-mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to