In Spring web flow I am finding something as below where you can set variables to a request scope or probably any other required scope as session, flash etc. I have a form in a jsp page which has a command object named(toDO) assigned to it. The same command object is used in all the three pages and finally the command object is suppose to be passed as a parameter to be added at the backend. My doubt is how do we set the varables of command object in a request scope or else add the variable to the command, once the page is passed over. In mvc we have something called action attribute for the form element. Here i am not knowing how to set a specific action for each page on the jsp form. I am finding action in the web flow. I am not sure if that action and the action we use for a form submit are the same. If I say flow.html as the action on the jsp page, to my understanding it has to go to the begining of a webflow, because for all the pages we have tha same flow.html as the action which is the begining of the flow.
Setting a value in request scope
The following url has answerd the second part of the question. How to save parameters to a command object and form submission issue. The thing left out is how to pass parameters to a method in web flow 2