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
What is server side programming language?
Explain some jsp life-cycle methods that can be overridden.
What is cookie with example?
Why use of scripting elements in jsp is discouraged?
What are the different types scripting elements in jsp?
How did you implement caching in jsp?
difference betwwn 16 bit and 32 bit
What are the types of directives in jsp?
What is the use of 'out' implicit object?
How jsp is executed?
What is client side technology?
What are stored procedures? How is it useful?
What is jsp container?
Which jsp methods can be overridden?
Can we override jspinit method?