I am using jquery upload file plugin Jquery file upload plugin.
I want to use it with Java not PHP.
Following is my code:
<af:resource type="javascript">
$(document).ready(function()
{
$("#fileuploader").uploadFile({
url:'GetFileSevlet',
fileName:"myfile",
dataType:document,
showDelete: true,
showDownload:true,
statusBarWidth:600,
dragdropWidth:600,
maxFileSize:200*1024
});
});
</af:resource>
<af:form id="f1" usesUpload="true" >
<div id="fileuploader">Upload</div>
I make a servlet, but I am not sure how can I get these files in servlet.
How to get these files in servlet? With this I am able to see upload screen and able to upload file but not able to get these files in servlet from request.
What I am doing wrong?