tags:

views:

37

answers:

1

Hello. I am beginner in GWT. My web-application need to save information, that user was typed, to txt file - how to implement this?

Thanks in advance.

+1  A: 

The question is: where do want to save the txt file? The GWT app is running in the browser, so you don't have access to the file system via the API (JavaScript is sandboxed), so your only option is to send the text to the server (using RPC or a HTTP POST) and save it there using your RemoteServiceServlet.

Jeroen