I am trying to use the Uploadify plugin with Spring MVC to upload a bunch of files. I am authenticated, but my request continues to lose, because when the Flash-based plugin makes a request, it lacks a session identifier. There are many examples of how to make this work with php .. I did not find any help for this case on the forum. Any ideas?
$('#uploadify_upload').uploadify({ 'uploader' : '../js/uploadify.swf', 'script' : '/myproj/FileUploader/upload, 'cancelImg' : '../images/uploadify-cancel.png', 'auto' : false, 'multi' : true, 'scriptAccess' : 'always', 'checkExisting': false, 'onComplete' : function(event,ID,fileObj,response,data) { alert("complete"); }, 'onError' : function(event,ID,fileObj,errorObj){ alert("Error"); } }); }); function handle(){ $('
HTML:
<div> <input id="uploadify_upload" name="uploadify_upload" type="file" /> </div> <div> <input type="submit" value="submit" name="submit" onClick="handle()"/> </div>
source share