struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alireza Fattahi <>
Subject Re: OGNL is used to call action's methods
Date Mon, 15 Dec 2014 15:05:06 GMT
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
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 <>
 To: Struts Users Mailing List <> 
 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 <>:
> 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

+ 48 606 323 122

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message