wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60765
    
  65

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
 
Similar Threads
Beginners' FAQ Ideas
handling EJB Exception in JSP
how to handle ejb exception in jsp
user friendly errors?
exception in struts