I have a jsp page with a form on it. The jsp code bundles the inputted data as an XML Document object. Could anyone tell me how to send this xml Document object to a servlet.
try this and see if it works.
(i'm assuming your jsp POST the FORM to the servlet.)
1. use the serializer to convert the xml document into a string
2. put this string as a hidden field within the form
3. at the servlet DOPOST, convert it back to xml document using the document's parse method.
i've forgotten where to download the serializer, u will need to check with the other experts here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.