Knowledgebase: Article Links
JavaServer Pages (JSP) Error Pages
Posted by Customer Service on 30 April 2005 05:31 PM
Few things make an application look less polished and professional than a server's default exception page. Even the most well-designed page usually shows the stack trace and exception name, and makes your application look broken. Your application might indeed have a bug, but that's no reason for it to look bad, as well.
The J2EE platform offers a great deal of control over how to format error information when a Web component throws an unexpected exception. Ideally, every Web component properly catches and handles all application and system exceptions that can occur. But in the real world, accidents happen. The JSP error page lets you catch, present, and report exceptions gracefully, instead of presenting the user with a technical, and possibly confusing, stack trace.
(601 vote(s))
Not helpful

Comments (0)