struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From developer researcher <java.developer.researc...@gmail.com>
Subject Migration struts.xml to Convention Plugin - Struts 2.5.20
Date Sat, 26 Jan 2019 00:19:09 GMT
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?

*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?

Thanks and regards

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