struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Migration struts.xml to Convention Plugin - Struts 2.5.20
Date Tue, 29 Jan 2019 07:43:32 GMT
sob., 26 sty 2019 o 01:19 developer researcher
<java.developer.researcher@gmail.com> napisał(a):
>
> Hello,
>
> I want to migrate a web application based on struts.xml to use annotations,
> but I have not found documentation and/or examples for the next cases:
>
> *1. <default-action-ref name="defaultAction"/>*
>
> How should be the @Action (?) Annotation be for the default action?

@Action("defaultAction")

> *2. Global Exception Handling*
>
> The documentation of convention plugin include exception mapping for action
> level and class level, but How should global exceptions and results be
> configured?

You can only configure this in struts.xml


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message