Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Annotations > AnnotationWorkflowInterceptor |
Configure a stack in xwork.xml that replaces the PrepareInterceptor with the AnnotationWorkflowInterceptor:
An error occurred: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2/src/java/tiger/src/java/com/opensymphony/xwork/interceptor/annotations/AnnotationWorkflowInterceptor.java. The system administrator has been notified.Given an Action, AnnotatedAction, add a reference to the AnnotationWorkflowInterceptor interceptor.
<action name="AnnotatedAction" class="com.examples.AnnotatedAction"> <interceptor-ref name="annotationInterceptor"/> <result name="success" type="freemarker">good_result.ftl</result> </action>