A while ago I sent a message about the behaviour of welcome files going
against the recommendations at http://www.w3.org/Provider/Style/URI; at
the time the servlet spec was in PFD and was fairly explicit that
sending a redirect wasn't acceptable.

Looking at the final spec, it appears that they've toned down their
language a little - nevertheless, this kind of behaviour (avoiding
redirects) seems preferable.

Unfortunately, the latest stable tomcat/catalina (congrats on this, by
the way!) still behaves in the old way.

I know I can explicitly map any URIs to particular JSPs or html files;
however, I'd like to avoid having to do that (the convenience of welcome
files is completely lost).

Is this set in stone?

Cheers,
jan

PS. original message here:
        http://w4.metronet.com/~wjm/tomcat/2001/Apr/msg00234.html
- in a nutshell: if I request http://foo.bar/webapp/
I'd like to see the contents of .../webapp/index.html, but _not_ see a
redirect to http://foo.bar/webapp/index.html


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 [EMAIL PROTECTED]
( echo "ouroboros"; cat ) > /dev/fd/0 # it's like talking to yourself sometimes

Reply via email to