How do I receive this in my servlet and manipuate it using the stax xml parser. My assignment is in such a way that I will have to use only the stax parser. Thanks in advance.
Notice that you have asked two questions. This is the XML forum, so let me answer the XML question. You take the InputStream which your servlet gets from the POST data, and pass it to your Stax parser. If I read the documentation correctly, that would be something like
subject: Receiving an XML file via HTTP-POST and processing it using Stax XML parser