J
Jon Rasmussen
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">
<jsparam name="top_menu" value="displayHome" />
<jsparam 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
content:
<%@ page errorPage="/Error.jsp" %>
[...]
<jsp:include page="/generic/topMenu.jsp" flush="true">
<jsparam name="top_menu" value="displayHome" />
<jsparam 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