TRying to upload a file

0 views
Skip to first unread message

tedpottel

unread,
Jan 17, 2010, 8:33:15 PM1/17/10
to Google Web Toolkit
Hi,
I cannot figure out how to upload a file. I copied the sample code at

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

The program seemed to run fine, I
1. Click the browse button to choose a file to upload.
2. clicked submit.

Check the folder war folder of my GWT project for the uploaded file
could not fine it.
Did the file get uploaded? If so whare is it? Help
Ted

Ewald Pankratz

unread,
Jan 18, 2010, 2:46:24 AM1/18/10
to Google Web Toolkit
I am a newbie and I am never sure about anything. But for me it looks
the whole server part of the example is missing.

On Jan 18, 2:33 am, tedpottel <tedpot...@gmail.com> wrote:
> Hi,
> I cannot figure out how to upload a file.  I copied the sample code at
>

> http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...

Abdullah Shaikh

unread,
Jan 18, 2010, 3:30:41 AM1/18/10
to google-we...@googlegroups.com
Yes you are correct. GWT has not automated file upload, it just submits the data to the server, where you need to get this data and store the file somewhere, as in any non-GWT project.


- Abdullah

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.




Richard Berger

unread,
Jan 18, 2010, 11:05:07 AM1/18/10
to Google Web Toolkit
Here's a link that I found pretty useful in using FileUpload with
GWT... http://www.jroller.com/hasant/entry/fileupload_with_gwt

Enjoy,
RB

On Jan 18, 12:30 am, Abdullah Shaikh <abdullah.shaik...@gmail.com>
wrote:


> Yes you are correct. GWT has not automated file upload, it just submits the
> data to the server, where you need to get this data and store the file
> somewhere, as in any non-GWT project.
>
> - Abdullah
>

> On Mon, Jan 18, 2010 at 1:16 PM, Ewald Pankratz <ewald.pankr...@gmail.com>wrote:> I am a newbie and I am never sure about anything. But for me it looks


> > the whole server part of the example is missing.
>
> > On Jan 18, 2:33 am, tedpottel <tedpot...@gmail.com> wrote:
> > > Hi,
> > > I cannot figure out how to upload a file.  I copied the sample code at
>
> > >http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...
>
> > > The program seemed to run fine, I
> > > 1.      Click the browse button to choose a file to upload.
> > > 2.      clicked submit.
>
> > > Check the folder war folder of my GWT project for the uploaded file
> > > could not fine it.
> > > Did the file get uploaded? If so whare is it? Help
> > > Ted
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages