You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RogerV <ro...@googlemail.com> on 2010/06/03 13:58:18 UTC

Struts 2.1.6, Convention Plugin

How do/can I intercept the "There is no Action mapped ..." error so I can
re-direct my users in a similair fashion to the global-exception handling.
(I've currently got java.lang.Exception mapped to catch everything, but it
doesn't intercept "There is no Action mapped ...")

Regards
-- 
View this message in context: http://old.nabble.com/Struts-2.1.6%2C-Convention-Plugin-tp28766505p28766505.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Struts 2.1.6, Convention Plugin

Posted by Paweł Wielgus <po...@gmail.com>.
Hi Roger,
use < default-action-ref name="UnderConstruction" > and in
UnderConstruction action You will catch all such requests.
More info here:
http://struts.apache.org/2.1.8.1/docs/action-configuration.html

Best greetings,
Paweł Wielgus.


2010/6/3 RogerV <ro...@googlemail.com>:
>
> How do/can I intercept the "There is no Action mapped ..." error so I can
> re-direct my users in a similair fashion to the global-exception handling.
> (I've currently got java.lang.Exception mapped to catch everything, but it
> doesn't intercept "There is no Action mapped ...")
>
> Regards
> --
> View this message in context: http://old.nabble.com/Struts-2.1.6%2C-Convention-Plugin-tp28766505p28766505.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org