java - define interceptors with struts2 annotations -
i'm trying use struts2-convention-plugin provides java annotations define struts2 components. actions far how can use annotations define interceptors ? (i'm talking of @interceptorrefs or @interceptorref).
is possible ? @ moment i've configured actions annotations , interceptors struts.xml file.
is possible eliminate struts.xml file , use 100% annotation oriented configuration ?
the struts2-convention-plugin doesn't replace xwork , configuration xml based. cannot eliminate need of struts.xml if using custom interceptors. reference , explanation of convention plugin usage see docs.
Comments
Post a Comment