|
[Help | API Docs | Short Course| Exercises]
This exercise implements a JSP page ( PrerequisitesSkeleton CodeTasks
Where help exists, the task numbers above are linked to the step-by-step help page. Solution SourceThe following files contain a complete implementation of the JSP error handling example: DemonstrationFrom your browser, access the URL http://localhost:8080/examples/jsp/jdc/errHandling/errhandler.jsp You should see an HTML form as shown below:
Now, make a selection and submit the form. If you made an incorrect selection, an exception is thrown and the request is forwarded to the error handler page, which extracts and displays the exception:
If you made the right choice, you get an acknowledgment from the JSP page itself:
Next ExerciseExercisesShort CourseCopyright 1996-2000 jGuru.com. All Rights Reserved. | ||||
|
| ||||||||||||