Previous | Home | Next |
In exception is performed an object in runtime and which is handled the runtime error.
There are two ways to handled exception :
- By errorpage and issErrorpage attributes page directives
- By <error-page> element in web.xml file
Example
<%@ page isErrorPage="true" %>
<html>
<body>
Sorry following exception occured:<%= exception %>
</body>
</html>
<%@ page isErrorPage="true" %>
<html>
<body>
Sorry following exception occured:<%= exception %>
</body>
</html>
Previous | Home | Next |