AnnotationWorkflowInterceptor Interceptor
Error formatting macro: snippet: java.lang.NullPointerException
Examples
Error formatting macro: snippet: java.lang.NullPointerException
Configure a stack in struts.xml that replaces the PrepareInterceptor with the AnnotationWorkflowInterceptor:
<interceptor-stack name="annotatedStack"> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> <interceptor-ref name="annotationWorkflow"/> </interceptor-stack>
Given an Action, AnnotatedAction, add a reference to the AnnotationWorkflowInterceptor interceptor.
<action name="AnnotatedAction" class="com.examples.AnnotatedAction"> <interceptor-ref name="annotationWorkflow"/> <result name="success" type="freemarker">good_result.ftl</result> </action>
Error formatting macro: snippet: java.lang.NullPointerException