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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -