tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: BUG 5722 : Forward to page display a blank page
Date Fri, 15 Feb 2002 19:47:59 GMT
In fact, I'd almost 'fixed' this before going back and re-reading the
servlet spec.  I just can't find enough wiggle room in section 8.1 (of
either 2.2 or 2.3) to allow this.  If anyone else can find a way to
interpret the spec differently, I'd be more than happy to change this for
RC1.

The difference in the examples is that "doNotExist.jsp" has a servlet (sort
of :), whereas "/doNotExist/" has no handler.
----- Original Message -----
From: "Thomas Colin de Verdiere" <tdeverdiere@scort.com>
To: <tomcat-dev@jakarta.apache.org>
Cc: <william.barker@wilshire.com>
Sent: Friday, February 15, 2002 2:30 AM
Subject: BUG 5722 : Forward to page display a blank page


> Sorry to bother you, i'd like to comment on bug 5722.
>
> I tried to forward to page that do not exist :
> doNotExist
>
> <html>
> <jsp:forward page="/doNotExist"/>
> </html>
> this displays a blank page
>
> i tried to forward to a page that do not exist with extension :
> <html>
> <jsp:forward page="/doNotExist.jsp"/>
> </html>
> this displays a 404 error page.
> i was expecting that a page with no extension would display a 404 page.
>
> Thanks
>
> Thomas Colin de Verdière
>
> ---------------------------------------------------------------------
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5722>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5722
>
> Forward to a page that have no extension displays a blank page
>
> william.barker@wilshire.com changed:
>
>             What    |Removed                     |Added
> --------------------------------------------------------------------------
--
>               Status|REOPENED                    |RESOLVED
>           Resolution|                            |INVALID
>
>
>
> ------- Additional Comments From william.barker@wilshire.com 2002-02-14
> 19:00 -------
> Section 8.1 of the servlet spec requires that the RequestDispatcher
returns
> the content of the path.  If it's not there, it has no content.
>
>
>
>
>
>
> --
> 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