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
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward
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 #