posted 13 years ago
That's a lot of code posted there, so I couldn't go through it all.
And not quite sure what you are looking for
But first I saw this
modal.addAttribute("companyInformationBean",companyInformationBean);
….
model.put("licenseInsuranceForm",new LicenseInsuranceBean());
In the first line you use addAttribute(), in the last line you just use put() Wouldn't you want to use the same one both times, maybe addAttribute()???
Also, do you want this in the model? Meaning the Response so it is available for rendering the jsp page? or do you want it in the HttpSession object? You can always pass in the HttpSession object to your controller method and then call a method to add an attribute in it. There is also @SessionAttribute which can be used to get stuff out of the HttpSession passed into your controller method.
But since I am not sure what you are trying to do, I just posted all possibilities I could think of.
Mark