This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 63355
    
  70

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to handle the runtime exceptions in jsp
 
It's not a secret anymore!