gu_lesson.tld
来自「簡單的多個實例的tag技術,剛入門不久的程序員,多多關照」· TLD 代码 · 共 58 行
TLD
58 行
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>TagDemo</shortname>
<uri>http://www.globeunion.com</uri>
<info>Tag Demo</info>
<tag>
<name>HelloTag</name>
<tagclass>com.gu.tag_lesson.HelloTag</tagclass>
<bodycontent>empty</bodycontent>
</tag>
<tag>
<name>HelloWhoTag</name>
<tagclass>com.gu.tag_lesson.HelloWhoTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>who</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>liuli1Tag</name>
<tagclass>com.gu.tag_lesson.liuli_1Tag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>attr1</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>attr2</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>HelloCodeTag</name>
<tagclass>com.gu.tag_lesson.HelloCodeTag</tagclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>attr1</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>attr2</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?