Form vs. chunk data to send via JsonpRequestBuilder
hi,
I need to transfer a image file (which is a url encoded string) to a
third party server. GWT has a reference to this string (wrote a
library that integrates GWT with Phonegap).
As I see it, I have 2 options:
1) Use the GWT form and put my image string as a hidden form field and
post it to the server. I would use a second JsonpRequestBuilder to
get the results using some common key in the requests.
or
2) Split the string up into chunks of 2000 characters, send each chunk
using it's own JsonpRequestBuilder and reassemble the complete file
on the server.
Or is there a third option?
Thanks!
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home