debug-taglib.tld

来自「《J2EE企业级应用开发》一书的配套源代码」· TLD 代码 · 共 39 行

TLD
39
字号
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
	"http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd">

<!-- a tag library descriptor -->

<taglib>
  <tlib-version>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>debug</short-name>
  <uri>http://jakarta.apache.org/tomcat/debug-taglib</uri>
  <description>
    This tag library defines no tags.  Instead, its purpose is encapsulated
    in the TagLibraryValidator implementation that simply outputs the XML
    version of a JSP page to standard output, whenever this tag library is
    referenced in a "taglib" directive in a JSP page.
  </description>
  <validator>
    <validator-class>validators.DebugValidator</validator-class>
  </validator>

  <!-- This is a dummy tag solely to satisfy DTD requirements -->  
  <tag>
    <name>log</name>
    <tag-class>examples.LogTag</tag-class>
    <body-content>TAGDEPENDENT</body-content>
    <description>
	Perform a server side action; Log the message.
    </description>
    <attribute>
	<name>toBrowser</name>
	<required>false</required>
    </attribute>
  </tag>
  

</taglib>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?