How to send XML data from JSP Client over HTTP
843835May 14 2003 — edited May 20 2003Hi,
I have searched through various forum questions and answers and have not found a suitable answer for my question!!
I have a simple JSP file that contains a basic application form. The users enter data in approx 6 different fields and clicks "Submit"
At this point I want to gather the information entered by the user into an agreed XML file format and send this information over http to a servlet waiting to process it.
The servlet will process the information and send an appropriate response to be displayed to the user.
This is very simple to do with a HTML form - a simple form tag and 6 text input types sent to the server, but if i want to send the data in an XML format how do I do this?
Any help/suggestions or sample code would be much appreciated.
Kind Regards
Ciaran