Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2755

InsertTag makes it hard to see JSP errors.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.3.0
    • 1.4.0
    • Tiles 1 Plugin
    • None
    • Operating System: other
      Platform: Other
    • 38470

    Description

      At the moment when there is a JSP error the logged error message doesn't give
      any usefull information. The message just tells us what JSP had the error in
      it and the message from that original error. The logged stacktrace is also not
      helpful and just points to InsertTag.doInclude().

      Apart from the logged message, the exception that is thrown results in the
      culprit on the offending JSP being found after the third backtrace with
      everything before it being pretty much useless information.

      The root exception should be logged and only the root exception thrown.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--Current Implementation.txt
          32 kB
          Geoff Bennett
        2. ASF.LICENSE.NOT.GRANTED--Patch.txt
          1.0 kB
          Geoff Bennett
        3. ASF.LICENSE.NOT.GRANTED--Patch.txt
          1.0 kB
          Geoff Bennett
        4. ASF.LICENSE.NOT.GRANTED--Patch.txt
          0.9 kB
          Geoff Bennett
        5. ASF.LICENSE.NOT.GRANTED--Proposed Implementation.txt
          19 kB
          Geoff Bennett

        Issue Links

          Activity

            People

              pbenedict Paul Benedict
              geoff@multitask.com.au Geoff Bennett
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: