File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Spring model attribute is not populating values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring model attribute is not populating values" Watch "Spring model attribute is not populating values" New topic
Author

Spring model attribute is not populating values

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
I have a model class with some methods, most of them are populated using ajax(jquery), I have a model attribute on JSP as orderVo, initially when page loads some values remains blank and when i call different methods they keep on filling using ajax. Now issue is, when 1 method is called after form setup(1st GET) my model attribute is not populating with values.

JSP -


VO -


Can someone please tell me why i am not been able to populate updated orderVo values? Is it because of AJAX? I have even used SessionAttribute but of no use.
 
 
subject: Spring model attribute is not populating values