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

Iterate Tag uses EVAL_BODY_TAG and always buffers the body content - add option to include the body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.9
    • 1.4.x
    • Tag Libraries
    • None

    Description

      The doStartTag() method of the logic:iterate Tag returns EVAL_BODY_TAG, which is equal to EVAL_BODY_BUFFERED. This is in many cases (I think in 99%) very inefficient, especially for large collections or large body contents. Please add an optional parameter, for instance "bufferBody=true|false", where the user can select, whether to include or to buffer the body of the tag. The default value may be "true", to prevent inconsistencies with older versions but I want to propose to make the default value "false" for the 1.3.x Version and to document the change in the migration tutorial.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fassev@gmx.de Peter Fassev
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: