Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Annotations > AnnotationWorkflowInterceptor
Added by Rainer Hermanns, last edited by Ted Husted on Sep 03, 2006  (view change)

AnnotationWorkflowInterceptor Interceptor

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.

Examples

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.

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>
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.