Clients can not write on servers. Your approach is the correct one,
you just need to make sure your servlet is allowed to write the file.
This probably means giving write access to the file to the user that
the servlet executes on.

Gert

On Jun 17, 4:18 pm, corto <[email protected]> wrote:
> 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 ?
>
> 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