permaculture playing cards*
The moose likes JSP and the fly likes how Jsp error\expections capture using HttpURLConnection  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 Jsp error\expections capture using HttpURLConnection  " Watch "how Jsp error\expections capture using HttpURLConnection  " New topic
Author

how Jsp error\expections capture using HttpURLConnection

joson sri
Greenhorn

Joined: Nov 26, 2010
Posts: 5
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

Joined: Jan 10, 2002
Posts: 60742
    
  65

Configure an error handler in the deployment descriptor.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how Jsp error\expections capture using HttpURLConnection
 
Similar Threads
urlConnection 500
POST to JSP
EOF error
how to handle the Exception...its Urgent
Calling a jsp on another site from an app