Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossWeb-3.0.0.Final
    • Fix Version/s: JBossWeb-7.4.0.GA
    • Component/s: Tomcat
    • Labels:
      None

      Description

      After setting genStringAsCharArray=true, we continue to see StringBuilder concatenating string literals for each jsp request for some of our jsp pages; instead of creating a static char[].

      This occurs when a string literal is included in a jsp expression, e.g.;

      <%="<INPUT type=\"hidden\" name=\"name\" value=\"" + obj.getName() + "\">"%>

      Is it possible to identify string literals inside expressions during the tokenization phase of parsing jsp pages in apache jasper and treat them as text nodes so that the apache jasper generator can apply the same optimizations as string literals outside the jsp expression?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                johara John O'Hara
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: