Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to send XML data from JSP Client over HTTP

843835May 14 2003 — edited May 20 2003
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2003
Added on May 14 2003
16 comments
365 views