I'm using a SimpleFormController to handle basic forms. After I hit the submit button, I'd like to do one of two things (not sure which one yet).

1. After I "Submit" I'd like to recall the udpate form and display an "Update Successful" message. The problem seems to be, however, is that all "responses" passed back to the form belong to the "command" class. So what I'd like to do is somehow add a message to the http response and pass it back to the calling JSP form.

Or.

2. Return to the "Success" view with data populated. I can currently redirect to that form, but the success view is not populated with any data. After going through the code with my debugger it appears that neither ModelAndView(...) nor formBackingObject(...) are called. So what I'm going to is an empty page. What I'd like is to call the ModelAndView equivilent and return to the form.

Either of these to methods would work for me, but I don't know how to implement either solution. Any help would be appreciated.