Hi chandrahas, thanks for the answer

I've been out from work last week.

Now I have to create a way to the user of my application make a download of
a file that is in the server.
I know the exactly location of the file and its name.

But I don't understand how to create a link (would be a GWT Hyperlink) that
point to my file. I think this way is easier than to create a servlet.

Could anybody give me a little help about?

thank you guys again

2009/8/25 chandrahas koyari <[email protected]>

>
> There are two general methods to achieve it
> 1. Create a link which directly point to that resource (file)
> 2. Point to a Servlet which respond with a file (by using
> getResourceAsFile() )
>
> On Aug 25, 2:50 am, Alexei Telles <[email protected]> wrote:
> > Hi...
> >
> > I need to create a link in my web application where the user will
> > download a file that is in my server.
> >
> > I was searching for something in the web, but I could not find
> > something about.
> >
> > Is there any GWT tool that allow me to develop a link in my
> > application to make a download from the server to the client?
> >
> > Or another way that you guys use to do?
> >
> > Thanks again
>
> >
>

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