Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-721

Handle the exception HTTP Error 413 - Request entity too large in the exceptions section of Velocity engine

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Windows XP, j2sdk1.4.2_13,

      Description

      The following exceptions are currently handled in velocity engine:
      1. ExtendedParseException
      2. MacroOverflowException
      3. MathException
      4. MethodInvocationException
      5. ParseErrorException
      6. ResourceNotFoundException
      7. TemplateInitException

      I suggest that another exception RequestEntityTooLarge also be handled by the velocity engine. When the client requests an entity that is too large from the application hosted on the web server, the server throws "Request Entity Too Large" exception with the status code 413.

      Can this HTTP 413 Request Entity Too Large exception be handled in velocity engine? Please let me know if this suggestion is beneficial. I am frequently getting this error which could be handled.

      Regards,
      Aruna

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aruna_v27 Aruna Venkataraman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 16h
                16h
                Logged:
                Time Spent - Not Specified
                Not Specified