Any number of exceptions can occur when a servlet executes. When an exception occurs, the web container generates a default page containing the message
A Servlet Exception Has Occurred |
But you can also specify that the container should return a specific error page for a given exception.