Hi,
Use a line like this to download the files:
com.google.gwt.user.client.Window.open( "http://target_url_here", "_blank", null );
Hope this helps,
Rodolfo
On Wed, Apr 19, 2017 at 3:46 AM Gowtham Reddy <govthamreddy@gmail.com> wrote:
I have two parallel GWT requests to server,once the server completes it will return a download link.--I am using Window.Location.assign to download the content.Problem here is that when two requests complete at same time first request by Window.Location.assign(URL) is discarded so only one file is downloading.Is it the correct behavior?or is there any other way to do it?
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment