Re: Catching: Unable to instantiate Action

2009-11-13 Thread Greg Lindholm
I haven't been following this thread so if my answer doesn't help... sorry. I have configured a default Action setup to catch all unknown actions. The default-action-ref tag [1] sets the action to use when the requested action isn't found. Login I use a restricted interc

Re: Catching: Unable to instantiate Action

2009-11-13 Thread RogerV
Brian Thompson-5 wrote: > > I can only speculate, but it seems logical that the ClassNotFoundException > is being thrown from outside the purview of Struts, in Tomcat's > ClassLoaders > - thus the Struts exception mapping never enters into it. > Theres definitely something odd going on. With

Re: Catching: Unable to instantiate Action

2009-11-12 Thread Brian Thompson
I can only speculate, but it seems logical that the ClassNotFoundException is being thrown from outside the purview of Struts, in Tomcat's ClassLoaders - thus the Struts exception mapping never enters into it. My only suggestion for dealing with this is to configure your actions explicitly rather

Re: Catching: Unable to instantiate Action

2009-11-12 Thread Roger
On Thursday 12 November 2009 12:35:25 Gustavo Felisberto wrote: > My toughts also. But in any case I tested and it did not help. > > If you find a solution please drop it here. > > Gustavo > Will do, but I've had even less response to my query than you. Regards

RE: Catching: Unable to instantiate Action

2009-11-12 Thread Gustavo Felisberto
: Catching: Unable to instantiate Action On Wednesday 11 November 2009 17:34:49 Oscar wrote: > Maybe using a exception mapping for java.lang.ClassNotFoundException > This sounds like the same problem that I'm having, Why would mapping ClssNotFoundException help? It's a sub-class of jav

Re: Catching: Unable to instantiate Action

2009-11-11 Thread Roger
On Wednesday 11 November 2009 17:34:49 Oscar wrote: > Maybe using a exception mapping for java.lang.ClassNotFoundException > This sounds like the same problem that I'm having, Why would mapping ClssNotFoundException help? It's a sub-class of java.lang.Exception and mapping that should catch eve

Re: Catching: Unable to instantiate Action

2009-11-11 Thread Oscar
Maybe using a exception mapping for java.lang.ClassNotFoundException 2009/11/11 Gustavo Felisberto > I have a Project were we have in struts.xml: > > > > > >/WEB-INF/plugins/{1}/{2}.jsp > > > > > > > > > > > > > > > > /WEB-INF/Error.jsp > > > > > > If any exception i

Catching: Unable to instantiate Action

2009-11-11 Thread Gustavo Felisberto
I have a Project were we have in struts.xml: /WEB-INF/plugins/{1}/{2}.jsp /WEB-INF/Error.jsp If any exception is thrown in my actions the global maping catches it and sends to correct JSP. If user enters some Url where the Class