I have a SimpleFormController that is coming up fine on the page. There are several forms on the page, so when one is submitted, I want to save the data on it and return to the same page. The first submit worked fine, and I finally ended up withand the jsp listed in the xml instead of the command name to get back to the form (to do this I had to repopulate all of my lists and my backing object because neither the formBackingObject function nor the referenceData function were called the second time around.) However, when I clicked submit on another form, the formBackingObject function ran before onSubmit(!?) 1. Is there a better way for the form to forward to itself (nothing else I tried worked) and why is formBackingObject called after I submit?
return new ModelAndView(getSuccessView(), myModel);