>
> Can you please help me understand what is workflow
> interceptor doing here. I know about workflow interceptor as it is
> responsible for calling validate method on action if action implements
> ValidationAware interface and collecting errors if any
>
>
First thing you do is take a look at the struts-default.xml file

http://struts.apache.org/2.1.6/docs/struts-defaultxml.html

Search for 'workflow' and you will find this:
<interceptor name="workflow"
class="com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor"/>

This tells you the
class="com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor" so
you can then read the javadocs:

http://struts.apache.org/2.1.6/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/DefaultWorkflowInterceptor.html

In a nutshell the workflow interceptor will cause the 'input' result to be
returned if there has been any errors.

Reply via email to