Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 66144
143
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!