If the action ends without exception, every thing will work fine.How ever when the action throws the exception, we will face the and which I mentioned. I tried to review the code, and I find that if the action throws the exception the OgnlRuntime consume the exception and convert it to InvocationTargetException ( line 1299) which later will be converted to ognl.MethodFailedException ( line 1305) So the action exception will not be re-thrown and the OGNL tries to handle it by its own. I think there must be a mechanism to stop OGNL runtime in a way that it re-throw the action exception. Hope I could describe what I mean ;) If you like I can send some sample codes or a sample application. ~Regards, ~~Alireza Fattahi From: Lukasz Lenart <lukaszlen...@apache.org> To: Struts Users Mailing List <user@struts.apache.org> Sent: Monday, 15 December 2014, 17:04 Subject: Re: OGNL is used to call action's methods 2014-12-15 13:59 GMT+01:00 Alireza Fattahi <afatt...@yahoo.com.invalid>: > I checked and it was no same method name. Do you suggest I check other places > too ~Regards, > ~~Alireza Fattahi
Check inheritance tree - it was known problem Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org