How can a JSP process HTML form input data to create/addto/update an XML file?

Ivo Limmen

You would have to write a JavaBean that interacts with the JSP to store and retrieve the data to and from the XML file, in response to an external POST operation. Basically, you would have to use an XML parser and an XML writer from within the bean for this purpose. I suggest you use the Apache Xerces parser (from, the SAX2 package (from and the Xml-Writer package (also from for this purpose.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact