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
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney
Posted by Rick Salsa on January 11, 2003 at 10:41 AM MST #
Posted by Matt Raible on January 11, 2003 at 10:51 AM MST #
Posted by Philipp Meier on January 11, 2003 at 12:20 PM MST #
Posted by Joseph Ottinger on January 12, 2003 at 02:36 AM MST #