Struts 1
  1. Struts 1
  2. STR-3128

put SizeLimitExceededException into request to get the details

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.9
    • Fix Version/s: 1.4.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      all

      Description

      SizeException(String message, long actual, long permitted) caught in org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest has three interesting parameter that may help me assemble a decent error message. Unfortunately, all this is ignored (not even a "log.debug").

      Therefore please create a "MultipartRequestHandler.ATTRIBUTE_MAX_LENGTH_EXCEEDED_EXCEPTION" where I could retrieve the details

      see also issue STR-1750

        Activity

        Hide
        Paul Benedict added a comment -

        Why can't you just catch the exception?

        Show
        Paul Benedict added a comment - Why can't you just catch the exception?
        Hide
        Paul Benedict added a comment -

        This issue is related to https://issues.apache.org/jira/browse/FILEUPLOAD-154 and is slated for Commons FileUpload 1.3

        Show
        Paul Benedict added a comment - This issue is related to https://issues.apache.org/jira/browse/FILEUPLOAD-154 and is slated for Commons FileUpload 1.3

          People

          • Assignee:
            Unassigned
            Reporter:
            Ralf Hauser
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development