bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/Generator.java
private void genPreambleClassVariableDeclarations(String className)
        throws JasperException {

        if (isPoolingEnabled) {
            if (!tagHandlerPoolNames.isEmpty()) {
                for (String tagHandlerPoolName: tagHandlerPoolNames) {
                    out.printil(
                        "private org.apache.jasper.runtime.TagHandlerPool "
                            + tagHandlerPoolName + ";");
                }
                out.println();
            }
        }

        out.printil("private org.glassfish.jsp.api.ResourceInjector "
                    + "_jspx_resourceInjector;");
        out.println();
    }
private void genPreambleClassVariableDeclarations(String className)
        throws JasperException {

        if (isPoolingEnabled) {
            if (!tagHandlerPoolNames.isEmpty()) {
                for (String tagHandlerPoolName: tagHandlerPoolNames) {
                    out.printil(
                        "private org.apache.jasper.runtime.TagHandlerPool "
                            + tagHandlerPoolName + ";");
                }
                out.println();
            }
        }

        out.printil("private org.glassfish.jsp.api.ResourceInjector "
                    + "_jspx_resourceInjector;");
        out.println();
    }
private void genPreambleClassVariableDeclarations ( String className ) throws JasperException { if ( isPoolingEnabled ) { if ( ! tagHandlerPoolNames . isEmpty ( ) ) { for ( String tagHandlerPoolName : tagHandlerPoolNames ) { out . printil ( "private org.apache.jasper.runtime.TagHandlerPool " + tagHandlerPoolName + ";" ) ; } out . println ( ) ; } } out . printil ( "private org.glassfish.jsp.api.ResourceInjector " + "_jspx_resourceInjector;" ) ; out . println ( ) ; }
Declare tag handler pools (tags of the same type and with the same
attribute set share the same tag handler pool)
(shared by servlet and tag handler preamble generation)
Declare tag handler pools ( tags of the same type and with the same attribute set share the same tag handler pool ) ( shared by servlet and tag handler preamble generation )