Announcement Announcement Module
No announcement yet.
form verification page Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • form verification page

    I am new to spring MVC and I come from struts background.

    I have spent a week playing with spring MVC tutorials.
    Here is the situation.
    I have a form page "CreateItem" that essentially is a SimpleFormController. I created a SimpleFormController and in my onSumbit() method, I saved the item to the database via hibernate. So far so good.

    Now I want to add an additional verification page here. So when I create an item on CreateItem page and hit submit, it takes me to a VerifyItemData page without actually inserting anything in the database. (I think this can be an AbstractCommandController). Then When the user hits Submit, it takes the user to final confirmation page and makes an entry in the database.

    So I will have to make many pages and mappings to accomplish this. Is this the right approach?
    Or should I consider WizardController for this use case?

    Thanks guys!