This Page Flow shows how to control navigation after an exception has occured. The @jpf:catch annotation is used to define a central location (showError.jsp) where error information is displayed.
In the SamplesApp, the samples are located at:
SamplesApp/WebApp/navigation/handleException/HandleExceptionController.jpf
[BEA_HOME]\weblogic81\samples\workshop\SamplesApp\WebApp\navigation\handleException\HandleExceptionController.jpf
To Run the Sample
Start WebLogic Server in the Workshop domain.
On Microsoft Windows systems, run
[BEA_HOME]/weblogic81/samples/domains/workshop/startWebLogic.cmdOn Linux or Solaris systems, run:
[BEA_HOME]/weblogic81/samples/domains/workshop/startWebLogic.sh
Launch the page flow either by opening it in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/WebApp/navigation/handleException/HandleExceptionController.jpf in the address bar of your browser. If WebLogic Server is running in the Workshop domain on this machine, you may click here to run the sample.