You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Thomas Colin de Verdiere <td...@scort.com> on 2002/02/15 11:30:07 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: BUG 5722 : Forward to page display a blank page
Posted by Bill Barker <wb...@wilshire.com>.
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" <td...@scort.com>
To: <to...@jakarta.apache.org>
Cc: <wi...@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:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>