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/nesting/nestedPageFlow/

Sample Source Code


01 <%@ page language="java" contentType="text/html;charset=UTF-8"%>
02 <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
03 <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
04 <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
05 <netui:html>
06     <head>
07         <title>
08             error.jsp
09         </title>
10     </head>
11     <body>
12         <h3>EmptyNestingStackException</h3>
13         <blockquote>
14         <p>You have reached this page because the nested Page Flow has been run
15         independently of its nesting Page Flow.  When nested Page Flows are run independently
16         a <code>EmptyNestingStackException</code> exception is thrown.
17         <p>The link below takes you to the nesting Page Flow.  From there you can 
18         safely enter the nested Page Flow.
19         <p><netui:anchor action="toNestedPageFlow">To Nesting Page Flow</netui:anchor>
20         <p>To reproduce this error: 
21         <ol>
22         <li>(1Run the file <code>SamplesApp/WebApp/navigation/nesting/nestedPageFlow/NestedPageFlowController.jpf</code></li>
23         <li>(2Click the "Submit Profile" button. </li>
24         </ol>
25         </blockquote>
26     </body>
27 </netui:html>