----- Original Message ----- From: "Bob Herrmann" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>