hi list,

im not sure how to update an user when i only want to update one or two
fields.
using struts spring hibernate

lets say i only want to change the name.
i make a form with hidden field with id and a normal field with name.

when i enter my save method i have a user with only an id and name. and
the other fields like password version etc. are empty.

should i get the old userfrom the db and copy the name from the new one
to the old one and update it??
should i put all fields hidden in my form?
should i save the user into the session?

thanks,

tibi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to