Hello Sir, I have a problem of how to wrote a in xml file thats is in the server. FileOutputStream output = new FileOutputStream(E://sample.xml"); OutputFormat format = new OutputFormat(document); XMLSerializer serializer = new XMLSerializer(output, format); serializer.serialize(root); output.flush(); output.close(); This is how i write into file in the local ,But i need to write an xml file placed in the server.I have to specify the xml file to be written as "http://sample.xml".(url). How could i do this. pl.. help me. with regards, Sonara.