>I have some data in an xml file on the server.
>With gwt I read this file and parse it using DOM library and show some
>of the data to the client.
>The client modifies the data and sends back modified values to the
>server.
>
>So far everything is correct and I am able to modify the DOM document
>in memory on the server side
>
>My problem is when it comes to save the modified document back to its
>xml file on the server.
>gwt crashes with the message
>
>"access denied, java.io.FilePermission myfile.xml write"
>
>My question is how can we save a file on the server with GWT without
>having that problem ?

I already tried to put write permission onto the xml file and it
crashes too.
I even tried to write on a new file with the same crash effect.

I made the experiment with a plain servlet on tomcat reading a file,
modify the data and writing back to the file.
Everything work perfectly without crash

So it has something to do with gwt I am pretty sure that there is a
solution to my problem.

if some body has got that solution I would really enjoy sharing it

Corto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to