Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how Jsp error\expections capture using HttpURLConnection  RSS feed

 
joson sri
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we used to HttpURLConnection to check whether service is running by reading the response body and status code, i wanted to do similarly for JSP error or exception thrown at runtime and note customer support team by mail.
any best way of capturing JSP error or exceptions in java at run time ?

Thanks in Advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Configure an error handler in the deployment descriptor.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!