posted 11 years ago
I have a simple Spring 3 MVC application, but when I changed the index.jsp to use the spring form tags (instead of regular HTML form controls), I then needed to have the form backing object loaded already or get the dreaded: "Neither BindingResult nor plain target object for bean name 'formObject' available as request attribute"
So, how do you get the initial form backing object initially populated so that, even if no values have been entered into the form variables (and they wouldn't have been since index.jsp is loading for the first time), you don't get any errors?
thanks.
mike