In this case, I think the second option would be most suitable since I am trying to make use of Web Flow with minimum impact. There will be 2 workflows, both of which will be using the same form throughout, and in many states using the same JSPs (which I also hope will be largely unchanged apart from state tracking fields).
I am however a little unsure on how to configure this. If I have a form, myForm which extends the Struts ValidatorForm, and an action defined as:
Code:
<action path="/MyWorkflow"
type="org.springframework.web.flow.struts.FlowAction"
name="myForm" scope="request"
validate="false"
className="org.springframework.web.flow.struts.FlowActionMapping">
<set-property property="flowId" value="workflow" />
</action>
Do I still need to define the following?
Code:
<controller processorClass="org.springframework.web.struts.BindingRequestProcessor"/>
<plug-in className="org.springframework.web.struts.BindingPlugin"/>
Daniel