File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Difference between errorPage in jsp and <error-page> in web.xml
Joined: Dec 14, 2009
Dec 15, 2009 00:04:12
Can any one give clarification regarding below one.
I would like to know the difference between errorPage attibute in
and <error-page> in web.xml for handling exception as well as error.
when we will use errorPage as well as <error-page> in web.xml?
Joined: Jul 10, 2008
Dec 15, 2009 00:13:35
<error-page> in JSP will be for whole web application....
we can map Exceptions & error code in DD.
page in errorPage attribute will be called only when any type of error came on that JSP only.
Hope this will helps
I agree. Here's the link:
subject: Difference between errorPage in jsp and <error-page> in web.xml
JSP Interview Questions
How to include errorpage in xhtml page.
<error-page> tag mechanism
error-page tag facing problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015