Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of JavaLessons.com

We want exceptions handled in the error page oops.jsp .

The error page contains this directive.

In the main page we forget to initialize secspermin, so it will be set to zero, being an instance variable.

The division results in an exception, of course,

so oops.jsp will be run, showing the exception object that the error page receives automatically, as a String.