struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm jee <>
Subject Re: [action2] Problem reports for configuration errors
Date Wed, 12 Apr 2006 16:08:04 GMT
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:


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message