The entry point of the application is index.jsp whose code is given below. <%@ page language="java" contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>Source
To set up an error page, use the <%@ page errorPage="xxx" %> directive. <%@ page errorPage="ShowError.jsp" %>
You can have following type of errors in your JSP code: Checked exceptions: Achecked exception is an exception that is typically a user error or a problem that cannot be foreseen Search Tutorials: Web Tutorials :: JSPs :: 5. Why not reach little more and connect with me directly on Google Plus, Facebook or Twitter.
There are 3 files: index.jsp for input values process.jsp for dividing the two numbers and displaying the result error.jsp for handling the exception index.jsp