Hi!

I use a pattern of PrepareAction-> view.jsp-> SubmitAction and also combine those parts to chains like this OnePrepareAction-> oneView.jsp-> OneSubmitAction-> TwoPrepareAction-> twoView.jsp-> TwoSubmitAction. All actions and views of this chain uses one FormBean which lives in the session scope. As you can see two actions are binded here in a row (OneSubmitAction-> TwoPrepareAction) and this place a problem appears: FormBean gets populated form the request twice - once before the OneSubmitAction and second time before the TwoPrepareAction. So lets imagine, that OneSubmitAction submits data to business tear and receives some as an responce. OneSubmitAction modifies FormBean to pass busness' modifications to the next Action and ends with a success, which leeds to a forward to the "/twoPreapreAction.do". But here FormBean gets populated (from the same request) once more and all modifications by OneSubmitAction are rewritten. So people, using the same setup->view->submit style, what is a nice solution here?

best regards
Yaroslav

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to