Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 31950 invoked from network); 12 Apr 2006 16:08:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 16:08:33 -0000 Received: (qmail 20450 invoked by uid 500); 12 Apr 2006 16:08:26 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 20406 invoked by uid 500); 12 Apr 2006 16:08:26 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 20395 invoked by uid 99); 12 Apr 2006 16:08:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 09:08:26 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.146.176.239] (HELO web25711.mail.ukl.yahoo.com) (217.146.176.239) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Apr 2006 09:08:25 -0700 Received: (qmail 8042 invoked by uid 60001); 12 Apr 2006 16:08:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=u4qMEM0GS6TZRmR7HuKcF5Qzy/R7EEMTmH7uJqlWVvN03pc1SX3MLCvDmkynQAg37mFsHlNZymyUHV9blnEA0n8PH99ZdhJmnYa2QCobnHv9NNq39/bDZ+mDlv6+aszHi0xP4C8Ta1A82kKOC5u8cGkUzMaB9Q55Cv5b2oSDXTQ= ; Message-ID: <20060412160804.8040.qmail@web25711.mail.ukl.yahoo.com> Date: Wed, 12 Apr 2006 16:08:04 +0000 (GMT) From: tm jee Reply-To: tm jee Subject: Re: [action2] Problem reports for configuration errors To: Struts Developers List In-Reply-To: <443C638F.1020408@twdata.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1712809535-1144858084=:3974" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1712809535-1144858084=:3974 Content-Type: text/plain; charset=us-ascii Wow.... that's impressive Don.. :-) ----- Original Message ---- From: Don Brown To: Struts Developers List Sent: Wednesday, 12 April, 2006 10:18:55 AM Subject: [action2] Problem reports for configuration errors I just added a feature to Action 2, which when in devMode, displays a helpful problem report whenever a configuration error occurs. This report includes the error message, the location information (resource uri, line and column numbers), the stacktraces, and a snippet of the offending file with the line and column highlighted. Still to do: - Refactor this out of DispatcherUtils so that other parts of the code can use it - Add CSS styling and Javascript features like collapsible stacktraces - Extend it to show snippets of Java errors as well, possibly extracting information from the stacktrace and showing a snippet if the source is on the classpath. Here is the problem report as a static file: http://www.twdata.org/dakine/error.html Don --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org --0-1712809535-1144858084=:3974--