I am using an input file element to upload file in my JSP page. The user can upload the file by clicking on a button which opens a form with browser's browse button
Now, I want to upload the file by using drag drop feature of HTML5 (as described @ html5 rocks page). I am able to extract the file name using File API. Is there a way to load the input file element with the dropped file using File API? (So that I may use the same behavior to upload file)