Hi,
Thanks in advance.
In our application we are using following code to save the file in XML format.
response.setContentType ("text/xml");
String filename=".xml";
response.setHeader ("Content-Disposition","attachment;filename="+filename);
With this it is opening a dialogue box prompting for name of the file,
but there is .xml[2],.xml[1].
Which is incorrect,actually I need there should be .xml direct, that is empty file name by default.
Please help me.
Regards,
Sree
Thanks in advance.
In our application we are using following code to save the file in XML format.
response.setContentType ("text/xml");
String filename=".xml";
response.setHeader ("Content-Disposition","attachment;filename="+filename);
With this it is opening a dialogue box prompting for name of the file,
but there is .xml[2],.xml[1].
Which is incorrect,actually I need there should be .xml direct, that is empty file name by default.
Please help me.
Regards,
Sree