Can not upload file size more than 10MB.

Help
2009-01-19
2013-04-16
  • Nobody/Anonymous

    Hi All,

    When I upload file size more than 10MB that show the error message as follows.
    I install the tomcat 5.5, jre 1.5.0_13 and webdisk 0.44. thank you!

    HTTP Status 500 -

    --------------------------------------------------------------------------------

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    java.io.IOException: Posted content length of 18369060 exceeds limit of 10485760
        com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:137)
        com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:94)
        com.oreilly.servlet.MultipartRequest.<init>(MultipartRequest.java:219)
        webdisk.Action.actionUploadFile(Action.java:890)
        webdisk.Controller.doGet(Controller.java:274)
        webdisk.Controller.doPost(Controller.java:313)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs.

     
    • Nobody/Anonymous

      Hello,

      you can change the upload limit in your web.xml:
                  <param-name>uploadlimit</param-name>
                  <param-value>10485760</param-value>

      bye
      Thomas

       
    • Nobody/Anonymous

      Hi Thomas,

      Thanks you very much!

      Jason

       

Log in to post a comment.