| Chris Smith 2004-07-03, 7:24 pm |
| Jon Rasmussen wrote:
> I have a JSP that that is constructed by including some dynamic
> content:
>
> <%@ page errorPage="/Error.jsp" %>
> [...]
>
> <jsp:include page="/generic/topMenu.jsp" flush="true">
> <jsp:param name="top_menu" value="displayHome" />
> <jsp:param name="top_menu_title" value="Home" />
> </jsp:include>
>
> [..body content...]
>
> </html>
>
>
> When an error 500 situation occurs in the main section of the page, I
> want it to redirect to the Error.jsp page.
Then set flush to false, not true. Once you've flushed your output to
the client, you can't go back in time and take it back. At that point,
there's no clean way to deal with an error.
> This was fine under WebLogic.
I'm having trouble imagining how that possibly could have been the case.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
|