This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JSP and the fly likes how to handle the runtime exceptions in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to handle the runtime exceptions in jsp" Watch "how to handle the runtime exceptions in jsp" New topic
Author

how to handle the runtime exceptions in jsp

goli reddy
Greenhorn

Joined: Sep 02, 2007
Posts: 8
please give answer to this
how to handle the runtime exceptions in jsp
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63061
    
  69

You shouldn't handle any errors in a JSP. Let them propogate out to the container where you can handle them in a servlet that you declare in the deployment descriptor (web.xml).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: how to handle the runtime exceptions in jsp
 
It's not a secret anymore!