/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
/** * Extracts tag file directive information from the tag file with the * given name. * * This is invoked by the compiler * * @param inFileName The name of the tag file to be parsed. */ public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, (URL) ctxt.getTagFileJarUrls().get(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
ctxt.getTagFileJarUrls().put(path, jarFileUrl); } else if (!path.startsWith("/WEB-INF/tags")) { err.jspError("jsp.error.tagfile.illegalPath", path);
public void visit(Node.CustomTag n) throws JasperException { TagFileInfo tagFileInfo = n.getTagFileInfo(); if (tagFileInfo != null) { String tagFilePath = tagFileInfo.getPath(); JspCompilationContext ctxt = compiler.getCompilationContext(); if (ctxt.getTagFileJarUrls().get(tagFilePath) == null) { // Omit tag file dependency info on jar files for now. pageInfo.addDependant(tagFilePath); } Class c = loadTagFile(compiler, tagFilePath, n.getTagInfo(), pageInfo); n.setTagHandlerClass(c); } visitBody(n); } }
ctxt.getTagFileJarUrls().put(path, jarFileUrl); } else if (!path.startsWith("/WEB-INF/tags")) { err.jspError("jsp.error.tagfile.illegalPath", path);
ctxt.getTagFileJarUrls().put(path, jarFileUrl);
ctxt.getTagFileJarUrls().put(path, jarFileUrl); } else if (!path.startsWith("/WEB-INF/tags")) { err.jspError("jsp.error.tagfile.illegalPath", path);
ctxt.getTagFileJarUrls().put(path, jarFileUrl); } else if (!path.startsWith("/WEB-INF/tags")) { err.jspError("jsp.error.tagfile.illegalPath", path);
ctxt.getTagFileJarUrls().put(path, jarFileUrl); } else if (!path.startsWith("/WEB-INF/tags")) { err.jspError("jsp.error.tagfile.illegalPath", path);
ctxt.getTagFileJarUrls().put(path, jarFileUrl);
tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); rctxt.addWrapper(tagFilePath,wrapper); tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add(
tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); rctxt.addWrapper(tagFilePath,wrapper); tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add(
tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); rctxt.addWrapper(tagFilePath,wrapper); tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add(
tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); rctxt.addWrapper(tagFilePath,wrapper); tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add(
tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); rctxt.addWrapper(tagFilePath,wrapper); tagInfo, ctxt.getRuntimeContext(), (URL) ctxt.getTagFileJarUrls().get(tagFilePath)); tagClazz = tempWrapper.loadTagFilePrototype(); tempVector.add(