Struts tags save errors in the Action.EXCEPTION_KEY
attribute. This works fine as long as that attribute
does not get overridden by a tag that recursively
encapsulates the one that generated the exception. 
Specifically this problem occurs in <template:get> and
<template:insert> tags.  In that case the exception
you find in the attribute is a meaningless wrapper.

One solution I see is for those tags to leave the
attribute alone. Another - to leave it alone only if
the exception is instanceof JSPException. A third
option would be to leave it alone if it is not null.

I have submitted a bug report for this one: #1324

Am I just overlooking some simple solution without any
changes to the struts tag implementations?

Thanks,

- Dmitri Plotnikov

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to