the previous posting seems to not like the \<param\>
You are right... I am just trying to catch those rare events.
Now here's something crazy: (and I have checked, and double checked,
restarted server, etc).
BUT if I add a <param> to my action, the exception mapping WORKS. If I
take it away, the exception is
not caught.
<action name="*" class="com.opensymphony.xwork2.ActionSupport">
<param name="foo">bar</param>
<interceptor-ref name="exception" />
<interceptor-ref name="defaultStack" />
<result type="velocity">/templates/screens/{1}.vm</result>
</action>
That works like a charm, remove the foo/bar and I get 500 error. struts.xml
file is the same as I posted.
Any ideas?
--
View this message in context:
http://www.nabble.com/Struts-2%3A--Unable-to-catch-exceptions-via-global-exception-mappings-tf4545971.html#a12984879
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]