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

File upload exceptions.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 Alpha
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      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

            • Assignee:
              Unassigned
              Reporter:
              kevin@minshull.ca Kevin Minshull

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment