Maps exceptions that are thrown from an action to a result, allowing automatic exception handling via redirection.
8 fileUpload
Facilitates easy file uploading.
9 i18n
Keeps track of the selected locale during a user's session.
10 logger
Provides simple logging by outputting the name of the action being executed.
11 params
Sets the request parameters on the action.
12 prepare
This is typically used to do pre-processing work, such as setup database connections.
13 profile
Allows simple profiling information to be logged for actions.
14 scope
Stores and retrieves the action's state in the session or application scope.
15 ServletConfig
Provides the action with access to various servlet-based information.
16 timer
Provides simple profiling information in the form of how long the action takes to execute.
17 token
Checks the action for a valid token to prevent duplicate formsubmission.
18 validation
Provides validation support for actions
Struts2 Framework Interceptors
最新推荐文章于 2018-04-10 13:48:58 发布
本文深入探讨了Maven框架中Mapsexceptionsthatarethrownfromanactiontoaresult等18个核心组件的功能与用途,从自动异常处理到国际化管理,全方位展示了Maven在构建高效软件开发流程中的关键角色。
663

被折叠的 条评论
为什么被折叠?



