Error.jsp Sample

This topic inludes the source code for the Error.jsp Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebApp/navigation/controllerFileNavigation/

Sample Source Code


01 <!--Generated by Weblogic Workshop-->
02 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
03 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
04 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
05 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
06 <html>
07   <head>
08     <link href="../../resources/css/style.css" type="text/css" rel="stylesheet"/>
09   </head>
10   <body style="margin:0">
11     <jsp:include page="/resources/jsp/header.jsp"/>
12     <br/>
13     <blockquote>
14       <h4>
15         An error occured
16       </h4>
17       <p><netui:label value="{request.e}" style="color:red;font-size:10pt;"  />
18       <p>You have received this error because you have tried to call 
19       a nesting page flow that is not currently in the stack. 
20       <p>The current page flow (specialFlowController.jpfis a nested page flow, which must be accessed 
21       from its nesting page flow (SamplesApp/WebApp/Controller.jpf).
22       <p>To avoid this error, begin your navigation at the nesting page flow 
23       (<a href="/WebApp/Controller.jpf">SamplesApp/WebApp/Controller.jpf</a>
24       and enter specialFlowController.jpf via the link 
25       "Altering Navigation from the Page Flow, Not in the JSPs".
26     </blockquote>
27   </body>
28 </html>