<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 > <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      

    <jsp:include and errorPage  
Jon Rasmussen


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


 
07-04-04 10:56 PM

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.

At the moment, when running on WebSphere 5.1, the JSP generate the
content of the topMenu include, and than insert the content of
Error.jsp into the same page.

Is there a way I can make sure that only Error.jsp is loaded, and not
any of the includes?
This was fine under WebLogic.

Thanks,

Jon Rasmussen





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:11 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