⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hello.tld

📁 《jsp网络编程技术与实例》
💻 TLD
字号:
<?xml version="1.0" encoding="UTF-8" ?>

<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
    version="2.0">
    
    <description>My taglib example.</description>
    <display-name>mytag lib</display-name>
    <tlib-version>1.1</tlib-version>
    <short-name>m</short-name>
    <uri>/mytag</uri>
    
    <tag>
        <description>
        Print Hello,Tag World!
	  </description>
    	  <name>hello</name>
	  <tag-class>mytag.HelloWorldTag</tag-class>
 	  <body-content>empty</body-content>
    </tag>
    <tag>
    	<description>
        Print out System time.
	</description>
    	<name>timeloop</name>
	<tag-class>mytag.MyBodyTag</tag-class>
 	<body-content>jsp</body-content>
	<attribute>
	   <name>number</name>
           <required>true</required>
           <rtexprvalue>true</rtexprvalue>
	</attribute>
    </tag>
    <tag>
        <description>
            Print parent's value.
    	</description>
        <name>in</name>
    	<tag-class>mytag.InTag</tag-class>
     	<body-content>empty</body-content>		
    </tag>
    <tag>
        <description>
            Out tag.
    	</description>
        <name>out</name>
    	<tag-class>mytag.OutTag</tag-class>
     	<body-content>jsp</body-content>
    	<attribute>
    	   <name>print</name>
    	   <required>true</required>
    	   <rtexprvalue>true</rtexprvalue>
    	</attribute>
    	<attribute>
    	   <name>content</name>
    	   <required>true</required>
    	   <rtexprvalue>true</rtexprvalue>
    	</attribute>
    </tag>
    <tag>
        <description>
            Iter tag.
    	 </description>
        	<name>iter</name>
    	 <tag-class>mytag.IterTag</tag-class>			    
    	 <tei-class>mytag.IterInfo</tei-class>
     	 <body-content>jsp</body-content>
    	 <attribute>
    		<name>vector</name>
    		<required>true</required>
    		<rtexprvalue>true</rtexprvalue>
    	 </attribute>
    	 <attribute>
    		<name>name</name>
    		<required>true</required>
         </attribute>
    	 <attribute>
    		<name>type</name>
    		<required>true</required>
         </attribute>
     </tag>
</taglib>

⌨️ 快捷键说明

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