Hi,
Your said you are using Ajax to retrieve the XML and send to the server.
Your problem, as I understand it, is how to save it in a file on the server. Your objective is to save the info you get from the form on the client side, into files so that you have a record.
Firstly, are you trying to save it in a file because you dont have a database on the server? Because a database would seem to be the best option out here because it will also B ezier2retrieve the info @ a a later time if required... clarify these things.
Assuming U dont have a database U would want2use a flat file to save the info.
The easiest solution would be to use a
servlet on the server, the servlet will create a file or append a file on ther server and write all the info to the file. You can use any one of the output streams available in the java.io package to achieve this.
Let me knowo if this solves the problem and if you need more help or info.