If you just want to download a file that has to be saved but not to be
displayed, you probably do not want to open a new window.
in this case I suggest you to use an hidden  Iframe as target.

Lorenzo


2008/12/20 Martin Miethe <[email protected]>

>
> Thanks a lot.
>
> Martin
>
>
> On 19 Dez., 19:22, Jason Essington <[email protected]> wrote:
> > Yup, open a new window with a location pointing to your existing JSP,
> > and your browser will perform the download, and your GWT app in the
> > main window will not be unloaded.
> >
> > -jason
> > On Dec 19, 2008, at 3:03 PM, [email protected] wrote:
> >
> >
> >
> > > Keep doing what you have been doing. GWT does not provide anything for
> > > file downloading. Just add links to you content in your GWT app.
> >
> > > On Dec 19, 2:51 pm, Martin Miethe <[email protected]> wrote:
> > >> Hi Newsgroup,
> >
> > >> I want to send a file to the client browser (offered as download to
> > >> the user). The file will be created after a user action and will be
> > >> stored physicaly on the server.
> >
> > >> Using traditional JSP, I would set content type and header to the
> > >> response, read the file on the server and
> > >> send everything to the out variable of a JSP.
> >
> > >> Now I am a bit lost...how can I achieve this using GWT?
> >
> > >> Thanks a lot in advance,
> > >> Martin
> >
>

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