I want user to change the details of a form( form is already filled with data).
can i take only updated fields values in xml, and submit it using servlet.
scenario: In a form, i have three fields a. FirstName b. MiddleName and c.LastName. User is told to update his detail. He/she changes only MiddleName detail and clicks on submit button. Then can i submit a form to servlet containing only Middle Name.
I don't believe it is possible submitting XML. For XDP submission there is an xdpContent property on the submit method that appears to support object selection.
I am curious as to why you would want to do this. On the client side it introduces a lot of script in the form to determine which fields have been changed and then to dynamically build the submission. On the server side you will have to have a unique servlet for each unique update.
because my form may be a very big form. And user could have requested a already submitted form to update few fields only. If let say way we have thousands of fields which has already submitted by user and now user want to update only 2-3 fields. Then we need to submit entire form. but i am lookin a senarios wehre i can update 2-3 (updated fields) only. so that less bandwidth communication channel is required to update that.
hope you got it i wnat.