GWT upload - Uploading single file twice -


i working on gwt screen has requirement of browsing gwt file once submitting server many times. in gwt upload after clicking on submit. or submitting using singleuploader.submit() method. file browsed fileinputtype cleared.

can suggest method upload single file many times using gwt-upload?

not sure if possible. try use https://developer.mozilla.org/en/docs/web/api/xmlhttprequest/using_xmlhttprequest , create (using native javascript) 2 instances of xmlhttprequest , try send them both. anticipated problem here input element on page receive incoming events result of upload process (loadstart, progress, etc). in doubt can handle 2 parallel flows of events successfully.

another way try send upload requests consequently, have generate second form submit. not trivial, , browsers not support on high level.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -