Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-86

File upload exceptions.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0 Alpha
    • None
    • None
    • Operating System: All
      Platform: All

    • 17106

    Description

      I have been using the file upload for handling my requests and i quite like
      what there is so far. The reason that i chose this over the servlets.com file
      upload is because this is able to handle the file too large with an exception.
      I am actively using it in the development of my website and in the testing and
      development it works just as good as the servlets.com file upload so far. I
      have not yet stressed it though.

      However i would like to suggest to take one more step. I suggest you throw the
      usual FileUploadException when "the request was rejected because it's size
      exceeds the allowed range" and throwing something to the effect of a
      FileUploadRequestException as "the request doesn't contain a multipart/form-
      data..."

      This is the reason that i chose the product, and am continuing to use it, but i
      wish there was a more defined way to know about the size exception instead of
      doing a string check on the exception message.

      Thx for your time to read this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin@minshull.ca Kevin Minshull
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: