File Upload in GWT in a Special Case
Posted
by Maksud
on Stack Overflow
See other posts from Stack Overflow
or by Maksud
Published on 2010-04-11T04:03:02Z
Indexed on
2010/04/11
4:13 UTC
Read the original article
Hit count: 303
gwt
|fileupload
I am doing a software for a document system. In this system when a user completes a document and want to save it, the document will be uploaded directly to server without the user action.
This system uses COM/ActiveX to facilitate user using native editors.
Ok, my problem is: suppose I have a file say d:/notepad.txt. Using classical method a user can browse the file and upload it. I can do that with apache commonio and GWT FormPanel and FileUpload. But if I know the filename (d:/notepad.txt), is there any way to upload the file directly to server without the user having to browse the file.
I am currently doing this by the ActiveX componenet calling some HttpUpload methods with POST. But that does not maintain session.
Thanks
© Stack Overflow or respective owner