Hi all, Could anybody help me by telling how to handle runtime SevletException? Thank you Yoginee
Author and all-around good cowpoke
posted 15 years ago
The most important thing is to get the maximum amount of informaton from the exception. Your servlet engine is probably going to log the stack trace, so be sure to preserve the error log. Note that ServletException can be thrown with a "root cause" Throwable attached - if you are catching ServletException, use getRootCause() and print the stack trace of that Throwable. Bill
Do you pee on your compost? Does this tiny ad?
the new thread boost feature: great for the advertiser and smooth for the coderanch user