This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
Tomcat and Uploadify
  • Hello there,

    I 've been using Uploadify for a while in Apache and it was working great!

    The problem is that, I made a java application with servlets so I needed a Tomcat for run it. But now when I try to upload a file, it won't work. After figthing with it and reading things i "discover" (It's my first time with tomcat) that tomcat and PHP don't work together. Has anyone had problems with this? I suppouse that I should tell my Apache to execute the "upload.php" instead of beeing Tomcat the one who do it, but I don't know how to do this. I search in this forum but don't find anything.

    Anyone had this problem before?

    Thanks for any help,

    Nicte
  • 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.
  • 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.


    Thanks shunya for your answer! You solved my problem! Now seems easy!

    Nicte
  • you can still do it in php but you need to setup apache to "hand-off" your java pages to tomcat to execute but handle everything else through apache.

    For example, I use an open source Coldfusion engine called Railo which runs as a java app. My web server is apache for everything non coldfusion (html, images, css files, jss files, etc..) but when it finds a cfm page it hands it off to tomcat to run it but apache runs everything else.

    Now you can just run tomcat just fine by itself but as far as I know using apache to run the reg items is a better/faster way to go.

    There is also a java server called "resin" that can run php.
  • Can anyone share the servlet that processes this?

    my js code is

    $('#image').uploadify({
    'uploader' : 'js/uploadify.swf',
    'script' : 'AddPatientImage',
    'cancelImg' : 'img/cancel.png',
    'folder' : '/uploads',
    'auto' : true
    });


    And it calls my servlet, but my code dies at

    for (Object o : servletFileUpload.parseRequest(request))

  • Can some one please help??

    I dont get file in the servlet. The list that i get after parsing the request is null.

    Pleaes suggest whats going wrong??

    Regards
    Vibhu
  • The user and all related content has been deleted.