Hi Sednus,
It's hard to tell from your first post what you would like to do exactly.
I'm guessing that you would like to implement a file upload feature, where
users can upload files to your server and you can write them on the
server-side. If this is what you're trying to do, you may find the
FileUpload widget useful. More particularly, you may find the recently
announced GWTUpload project nice as it includes GWT components to make file
upload easier.

GWTUpload project:
http://code.google.com/p/gwtupload/

FileUpload widget:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/FileUpload.html

On the other hand, if you would simply like to write a file on the server
(that isn't uploaded from the browser client), you should note that file
writing  on the server should only occur on the server-side. You should be
able to perform File I/O in your GWT RPC servlet from within one of the RPC
methods you've defined in your interface.

Conversely, you shouldn't try to perform File I/O in your GWT client-side
code as this code will be cross-compiled and run in the browser as
JavaScript code, where file access is not available.

Hope that helps,
-Sumit Chandel

On Fri, Jul 31, 2009 at 11:19 AM, Norman Maurer <[email protected]> wrote:

>
> Hi,
>
> just checkout the formpanel.
>
> Bye,
> Norman
>
> 2009/7/31 Sednus <[email protected]>:
> >
> >   Hello,
> >
> >  I need help I am new using GWT and I want to write a text file to
> > the server but i can't find a writer supported by this JRE... Can
> > anybody help?
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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