It looks like you're new here. If you want to get involved, click one of these buttons!
shunya said:You need to write a Servlet that will handle file upload. Have a look at Commons File Upload project.
http://commons.apache.org/fileupload/
Once you have written this servlet and mapped to an URL, change the 'script' attribute in the page that embeds the uploadify plug-in, to the above URL.
$('#image').uploadify({
'uploader' : 'js/uploadify.swf',
'script' : 'AddPatientImage',
'cancelImg' : 'img/cancel.png',
'folder' : '/uploads',
'auto' : true
});
for (Object o : servletFileUpload.parseRequest(request))