• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how Jsp error\expections capture using HttpURLConnection

 
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
Pie
Posts: 64620
86
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