aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 60077
    
  65

Configure an error handler in the deployment descriptor.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how Jsp error\expections capture using HttpURLConnection
 
Similar Threads
POST to JSP
how to handle the Exception...its Urgent
EOF error
urlConnection 500
Calling a jsp on another site from an app