Can I create a xml file using jsp coding and store it into a local disk with the specified name we giving.
The xml file structure like this
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<questions>
<question category="something"/>
</questions>
If is this possible please give coding for that.
save the above coding as any jsp page eg. new.jsp
Change the name of the file str=”want u want”
and also change the attribute
attr.setValue("want u want");U can also change the local disk folder where the file want to save