i dont think you can get binary input stream from client to get the file directly with rpc
hth
On Mon, May 28, 2012 at 5:26 PM, Akis <akismitracos@gmail.com> wrote:
Hi guys. I've got a question for you:
i need to create a web app which, starting from an input string given
by the user through the browser, generates a file that has to be
downloaded by the user self.
My approach would be the following: the input string is sent by a RPC
to a server-side class that creates the file from the given string,
and then the file is sent to the client-side, ready to be downloaded.
Now, in "classic servlet way", i would use a HttpServetResponse to set
the header, the content type, and attach the file... how can i do this
with GWT?
Thank you mates!
--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment