• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to handle the runtime exceptions in jsp  RSS feed

 
goli reddy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please give answer to this
how to handle the runtime exceptions in jsp
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!