PDA

View Full Version : how to design conditional flow


AJANI
Mar 22nd, 2006, 01:43 AM
Hi All

In the scenario of flow where user has to upload a file from a seperate page as part of registration if he registers as a specifc user (e.g. CSR), what could be the best solution to implement it with spring MVC.

As this requires to maintain state of registration command object while posting file from saperate page I am just wondring how WizardController might fit into this?

Any thoughts would be greatly appriciated.

Colin Yates
Mar 22nd, 2006, 04:57 AM
AWFC might be a good choice, so might Spring Web Flow. AFAIK both Spring MVC + Spring Web Flow come with file upload samples. If SWF doesn't include such a sample it is because it actually uses the same mechanism as Spring MVC.