--- On Mon, 9/29/08, Bobby Politte wrote: > I've got a struts action that creates, updates and deletes a User > object. When updating though, I have two different jsp pages that > update only part of the object (user information on one, and password > on the other). Unexpectedly (at least to me), Struts sets the members > of the User object not on the form to null.
It depends on how your action is set up. Struts will only set the values contained in the form submission, but if Struts has to create a new User object to hold the form values then the values not on the form will be initialized to the normal Java default values. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]