tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Grant <Jan.Gr...@bristol.ac.uk>
Subject welcome files being forwarded to rather than redirected to?
Date Wed, 03 Oct 2001 12:59:10 GMT
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 jan.grant@bris.ac.uk
( echo "ouroboros"; cat ) > /dev/fd/0 # it's like talking to yourself sometimes


Mime
View raw message