Re: <jsp:include and errorPage
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > Re: <jsp:include and errorPage




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: <jsp:include and errorPage  
Chris Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-04-04 12:24 AM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:36 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register