We already know about error and exception.
In JSP there are 2 types of exception
1. Translation time errors
2. Run Time Exception
Translation error occurs during page compilation, this results in an Internal Server Error (500).
An exception on other hand occurs when page is compiled and servlet is running.
Exception can be handled in JSP in three ways:
a.) Java Exception Handling mechanism
b.) Dealing with exception with page directive
c.) Dealing with exception in Deployment Descriptor.