Question : Accessign XML file from same directory on remote server

I am kind of trying which direction to take to deploy my Java application that I have written.  My application needs to access a folder of XML files for reading and writing.  I can place this folder in the same location on my remote server as the rest of my code.  Would it be possible to make my code into an applet and let it access the XML files in the same directory that it's .jar file is?  Would it be better to use a Java WebStart application?  Any different suggestions?

Answer : Accessign XML file from same directory on remote server

Your applet would load the file from the server

http://helpdesk.objects.com.au/java/how-to-load-xml-document-from-url
(or you could just load the text if thats all you needed)

Then to save it you would POST it back to the server (eg. to a servlet)
http://helpdesk.objects.com.au/java/how-do-i-send-a-post-request-using-java
Random Solutions  
 
programming4us programming4us