private void generateTagHandlerInit(){
  if (!isPoolingEnabled || tagHandlerPoolNames.isEmpty()) {
    return;
  }
  if (ctxt.isTagFile()) {
    out.printil("private void _jspInit(ServletConfig config) {");
  }
 else {
    out.printil("public void _jspInit() {");
  }
  out.pushIndent();
  for (  String tagHandlerPoolName : tagHandlerPoolNames) {
    out.printin(tagHandlerPoolName);
    out.print(" = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(");
    if (ctxt.isTagFile()) {
      out.print("config");
    }
 else {
      out.print("getServletConfig()");
    }
    out.println(");");
  }
  out.popIndent();
  out.printil("}");
  out.println();
}

private void generateTagHandlerInit ( ) { if ( ! isPoolingEnabled || tagHandlerPoolNames . isEmpty ( ) ) { return ; } if ( ctxt . isTagFile ( ) ) { out . printil ( "private void _jspInit(ServletConfig config) {" ) ; } else { out . printil ( "public void _jspInit() {" ) ; } out . pushIndent ( ) ; for ( String tagHandlerPoolName : tagHandlerPoolNames ) { out . printin ( tagHandlerPoolName ) ; out . print ( " = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(" ) ; if ( ctxt . isTagFile ( ) ) { out . print ( "config" ) ; } else { out . print ( "getServletConfig()" ) ; } out . println ( ");" ) ; } out . popIndent ( ) ; out . printil ( "}" ) ; out . println ( ) ; }
generates the _jspinit ( ) method for instantiating the tag handler pools . for tag file , _jspinit has to be invoked manually , and the servletconfig object explicitly passed .
