I am trying to implement the File Upload code example on page 138 (Version 1.2 RC2) of the reference documentation and have noticed that although the successview is reached after I submit the form, nothing within the onSubmit() method is processed. That is, no logger info is written and the file is not saved. How is this possible? I thought that if the successview is reached, the onSubmit() method must have been called. Since this is not happening, how can the successview be reached? How can it be skipped? Is it a configuration issue?
I have another form that also exhibits this behavior, so I placed my processing code within the Validator, but am curious what could be causing the SimpleFormController to behave this way.
I am using Spring 1.2RC2, and Tomcat 5.0.18, and lib files from the Spring distribution.