Closed GoogleCodeExporter closed 8 years ago
This problem still exist with version 1.0.1 of gwt-upload. Has anyone looked
into this issue since february? Seems like gwtupload is useless with gwt
version 2.6+
Original comment by mur...@gmail.com
on 14 May 2014 at 1:20
Looking into this issue, I believe this is not such a problem, you must not
change the request url during the time the file is being uploaded, otherwise
the session breaks.
The normal way is to change it when the input file changes, so this code works
to me:
uploader.addOnChangeUploadHandler(new OnChangeUploaderHandler() {
public void onChange(IUploader uploader) {
String uploadType = "application/pdf";
uploader.setServletPath(whatever + "?uploadType=" + uploadType);
}
});
Original comment by manuel.carrasco.m
on 7 Jan 2015 at 5:49
Original issue reported on code.google.com by
nirajc2...@gmail.com
on 17 Feb 2014 at 2:31Attachments: