Monday, April 17, 2017

Problem with Window.Location.assign

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.

No comments:

Post a Comment