jsp2-example-taglib.tld
来自「Tomcat与Java.Web开发技术详解源代码」· TLD 代码 · 共 32 行
TLD
32 行
<?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">
<tlib-version>1.0</tlib-version>
<short-name>jsp2-example-taglib</short-name>
<uri>/jsp2-example-taglib</uri>
<function>
<description>add x and y</description>
<name>add</name>
<function-class>mypack.Compute </function-class>
<function-signature>
int add(java.lang.String,java.lang.String)
</function-signature>
</function>
<tag>
<description>Prints this is my first tag</description>
<name>hello</name>
<tag-class>mypack.HelloTag</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?