Re: welcome files being forwarded to rather than redirected to?

2001-10-05 Thread Jan Grant
On Thu, 4 Oct 2001 [EMAIL PROTECTED] wrote: On Thu, 4 Oct 2001, Remy Maucherat wrote: Also, not doing the redirect would create lots of problems with nested welcome pages (foo/index.html is a valid welcome page). Is it ? Yes. The spec talks about valid partial URIs without leading or

Re: welcome files being forwarded to rather than redirected to?

2001-10-05 Thread cmanolache
On Fri, 5 Oct 2001, Jan Grant wrote: On Thu, 4 Oct 2001 [EMAIL PROTECTED] wrote: On Thu, 4 Oct 2001, Remy Maucherat wrote: Also, not doing the redirect would create lots of problems with nested welcome pages (foo/index.html is a valid welcome page). Is it ? Yes. The spec

Re: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread Jan Grant
On Wed, 3 Oct 2001, Craig R. McClanahan wrote: It's not at all clear that the Persistent URI article you referenced has anything to do with whether a redirect is used for a welcome file or not actually, I was more concerned with exposing implementation mechanisms in URIs; and future-proofing

Re: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread Bojan Smojver
Jan Grant wrote: actually, I was more concerned with exposing implementation mechanisms in URIs; and future-proofing so that when index.jsp becomes index.csharpsp in the future (only kidding...) I'm not left with an unmanageable mess. He, he, good one! :-)) Bojan

RE: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread Jan Grant
On Thu, 4 Oct 2001, Jan Grant wrote: On Thu, 4 Oct 2001, Colin Wilson-Salt wrote: Surely the way to fix this is that a request for http://foo.bar/webapp generates a redirect to http://foo.bar/webapp/, and a request to http://foo.bar/webapp/ will serve the default content using forward()

Re: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread Nick Holloway
[EMAIL PROTECTED] (Craig R. McClanahan) writes: Originally (back in the pre-3.2-final days), Tomcat did the equivalent of a RequestDispatcher.forward() to display welcome pages. This caused massive problems for people who didn't understand the difference between: http://foo.bar/webapp

Re: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread Remy Maucherat
On Wed, 3 Oct 2001, Craig R. McClanahan wrote: Originally (back in the pre-3.2-final days), Tomcat did the equivalent of a RequestDispatcher.forward() to display welcome pages. This caused massive problems for people who didn't understand the difference between:

Re: welcome files being forwarded to rather than redirected to?

2001-10-04 Thread cmanolache
On Thu, 4 Oct 2001, Remy Maucherat wrote: Also, not doing the redirect would create lots of problems with nested welcome pages (foo/index.html is a valid welcome page). Is it ? AFAIK no web server accepts this kind of welcome page. It's true the spec doesn't mention what values are valid (

welcome files being forwarded to rather than redirected to?

2001-10-03 Thread Jan Grant
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

Re: welcome files being forwarded to rather than redirected to?

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Jan Grant wrote: Date: Wed, 3 Oct 2001 13:59:10 +0100 (BST) From: Jan Grant [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: tomcat-dev [EMAIL PROTECTED] Subject: welcome files being forwarded to rather than redirected to? A while ago I sent a message about