tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [5.0] Welcome Files
Date Wed, 21 Aug 2002 23:32:02 GMT

----- Original Message -----
From: "Bob Herrmann" <bob@jadn.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, August 21, 2002 3:53 PM
Subject: [5.0] Welcome Files


>
> I have been looking into the Servlet 2.4 section 9.10 Welcome files
> stuff.  In a nutshell, the spec now allows servlets to be welcome
> files.  The can either be an 'exact match' or a 'prefix match.'
>
> I implemented changes to StandardContextWrapper to bring Tomcat into
> compliance.  I think it is pretty messy, but then again Welcome Files
> are messy (per earlier posts.)
>
> What do you think?   (The patch is for discussion purposes and contains
> a lot of logging)

One easy optimization is to keep a Hashtable of {relativeURI,
WelcomeURIProcessing}.  The main problem is dealing with life-cycle, and
dealing with someone dropping an "index.html" file in and expecting TC to
pick it up (which is why I dropped the Hashtable idea in 3.3).

>
> Cheers,
> -bob
>
>
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message