Saturday January 11, 2003
E-Mailing errors when an error-page is displayed I'm implementing an interesting feature this morning. When a user views the error-page of the application, an e-mail is sent to an administrator with a StackTrace. By error-page, I mean the "errorPage" attribute in a JSP's page declaration.
<%@ page language="java" errorPage="/errorPage.jsp"
contentType="text/html; charset=utf-8" %>
I'm using the mailer taglib to do this, but can't help thinking that Log4j already provides similar functionality. Doesn't it have an SMTPAppender or something like that. I briefly scanned their site, but didn't see anything. If you know how to configure this functionality - hook me up!
Posted in Java
at Jan 11 2003, 06:20:17 AM MST
4 Comments
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial
Posted by Rick Salsa on January 11, 2003 at 11:41 AM MST #
Posted by Matt Raible on January 11, 2003 at 11:51 AM MST #
Posted by Philipp Meier on January 11, 2003 at 01:20 PM MST #
Posted by Joseph Ottinger on January 12, 2003 at 03:36 AM MST #