Yah, I figured fixing the init() method was the right choice.
However, I don't know the politics between whomever works on xwork vs.
struts 2, and I threw both out there as an option. Thx to all the
committers by the way. Great product!
On Apr 2, 2009, at 3:45 PM, Musachy Barroso wrote:
The problem is that exceptions are thrown by XWork (like in your
example), but they are not caught/logged by Struts, so they end up in
the container's log, instead of log4j (or the logger being used). I
added a try/catch to the init method of dispatcher to log exceptions
and rethrow them.
thanks for reporting
musachy
--
_,--"
cws `-._ ________-_______ "----
_----'--'--------------------------------'--'----_
//_| | \ Christian Stone, Software Engineer / | |_\\
(_____|_|__= xt...@stonescape.net =__|_|_____)
_\_____=__ http://xtian.stonescape.net/ ___/_
\/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/