向下挖掘的gwtupload
源代碼後。我找到了解決方案。如果您想在同一頁面上有多個SingleUploader
或MultiUploader
。您需要更改以下行,並需要創建.jar
文件gwtupload
。
private static HashSet<String> fileDone = new HashSet<String>();
private static HashSet<String> fileUploading = new HashSet<String>();
private static List<String> fileQueue = new ArrayList<String>();
到(刪除static
)
private HashSet<String> fileDone = new HashSet<String>();
private HashSet<String> fileUploading = new HashSet<String>();
private List<String> fileQueue = new ArrayList<String>();
在位於包文件Uploader.java
gwtupload.client