Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How does JSP handle run-time exceptions?

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


Please Help Members By Posting Answers For Below Questions

What are the different types of jstl tags?

917


Write a simple example for the clone() method.

903


What is jsp? Explain

936


What is a session in web?

960


What is page scope?

887


Explain jsp:plugin action?

1000


In the servlet 2.4 specification singlethreadmodel has been deprecated, why?

932


Give uses of object cloning?

954


How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?

1027


What is expression language injection?

939


What is jsp include tag?

906


Can you disable jsp scripting?

954


What is context url?

880


Differentiate between and <%@include file=…>.

924


Can any one explain about the project Approximate shortest distance computing:A query dependent local landmark scheme

1729