|Re: IllegalStateException when calling response.getOutputStream [message #701889 is a reply to message #701854]
||Mon, 25 July 2011 17:57
| Ivan Furnadjiev
Registered: July 2009
Location: Sofia, Bulgaria
it's not possible to use the standard RAP Ajax request for download
purpose. Using a service handler is the way to go.
On 7/25/2011 8:22 PM, Andrew Eisenberg wrote:
> Thanks for your response. I did have a look at the the FAQ, but it is
> not really what I am trying to do. I do not want to create a link for
> The workflow is supposed to be like this:
> 1. User clicks on a SWT/RWT button widget
> 2. Application generates a zip file
> 3. Zip file is downloaded to user's machine.
> Is using a Service handler the only way to accomplish this? If so,
> then it would break my intended workflow since the zip file cannot be
> generated through the selection listener as I show above, but only
> through the service handler. Apologies if I am misunderstanding
> something fundamental here. I have lots of experiences with RCP, but
> little/no experience with web-apps.
> I would like to write to the response through the SelectionListener as
> I show above, but is this not possible?
Powered by FUDForum
. Page generated in 0.08126 seconds