Answer Posted / guest
You can use the errorPage attribute of the page directive
to have uncaught runtime exceptions automatically forwarded
to an error processing page.
For example:
redirects the browser to the JSP page error.jsp if an
uncaught exception is encountered during request
processing. Within error.jsp, if you indicate that it is an
error-processing page, via the directive:
the Throwable object describing the exception may be
accessed within the error page via the exception implicit
object.
Note: You must always use a relative URL as the value for
the errorPage attribute.
Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Are dialogue tags necessary?
What is asp and jsp?
How to send data from one page to another in jsp?
What is taglib uri in jsp?
What is page scope?
What is the use of jstl tags in jsp?
what are the tools used in your project , How to ask the answer this question
Show the 2 types of comments in JSP.
What is the difference between a jspwriter and a servlet printwriter?
How do I use comments within a jsp page?
i need the source code for opening a word document in java
Is jsp server side or client side?
What are the types of directives in jsp?
What are the events in jsp page?
What is jsp exception?