Hidden Exceptions

2011-05-30 Thread Christian Grobmeier
Hi, given this Action: public class MyAction { public String execute() throws Exception { // throws IllegalArgumentException } } I do not get a log output or anything else indicating that error. I have struts dev mode = true. Report page shows: Struts has detected an unhandled

Re: Hidden Exceptions

2011-05-30 Thread M.C. Wilson
Well, let's see... I am no Struts expert, but one way that I know of to log errors is by using your struts.xml configuration. Make sure you have something like this in your interceptors: interceptors interceptor-stack name=appDefaultStack interceptor-ref

Re: Hidden Exceptions

2011-05-30 Thread Christian Grobmeier
Cool thanks. This worked for me. As I don't use a default stack, it was better for me to configure directly: interceptor-ref name=exception param name=logEnabledtrue/param param name=logLevelERROR/param /interceptor-ref Cheers and thanks again, this helped me working with more