tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: JSP include after redirect. Spec. or bug?
Date Thu, 29 Aug 2002 07:44:43 GMT
Well, it's a bug, but it is in the application programmer's code.  There
should be a:
return;
after the 'response.sendRedirect("b.jsp")' line.


----- Original Message -----
From: "Hugh J. L." <hughjlee@yahoo.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, August 28, 2002 11:12 PM
Subject: JSP include after redirect. Spec. or bug?


> Hi,
>
> <%
> response.sendRedirect("b.jsp");
> String left_page="c.jsp";
> %>
> <jsp:include page="<%=left_page%>" flush="true" />
>
> Running on Tomcat 4, it is ok. Running on Tomcat 3.3,
> the result is correct but there is error message on
> console. Of course, the include in this example is
> meaningless, but this jsp is extracted from large jsp
> file from client. Is it a limitation of JSP 1.1 or a
> trivial bug?
>
> Thanks.
>
> Hugh
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
> --
> 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