I've created an interceptor that I've found invaluable for debugging. When you append "debug=true" to the query string, this interceptor hijacks the normal result and instead, dumps the parameters, context, session, and value stack to the response as XML. Since most browsers know how to handle XML, this is a great tool for getting a view at the data behind the page. The interceptor only works when devMode is set to true.

I'm putting this in as a ticket[1], because I'd like some feedback first. It is my intention to put this interceptor into the default stack. Since it only engages when devMode is enabled, it should be safe and have little effect on production applications.

Don

[1] http://issues.apache.org/struts/browse/WW-1279

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to