Post a Job  |   Ask a Question?   |   Already registered? login or register
subrat rout
28/04/2015 03:43 AM

what is form backing object what is the purpose of it

what is form backing object what is the purpose of it
Spam    4 Comments

28/04/2015 10:08:13
hi subrat, the formBackingObject(request) is method , this is used in the simpleFormController , assume the student object is already in the database with id=2; if you want to update that record with different values then you should get that old values from the database , in this case formBakingObject method will be helpful to you. I hope you get it.

28/04/2015 11:30:49
If you are using simple form controller , when the request comes to dispatcher servlet it calls handle request method on simple form it will go to super class(simple form controller) is initial phase request..right??so it needs to render source form page...while rendering it calls form backing if you want to present any data in source page itself you can write command object values in that that they can be reflect as part of the source phase..

28/04/2015 11:33:30
hi everyone..If there is any thing wrong in my explanation correct me..

28/04/2015 12:02:25
thanks Ashok,Ankamreddy

Languages :