tags.tld

本文介绍了一个具体的JSPTagLib配置文件示例,详细展示了如何定义标签库的版本、展示名称、描述及标签属性等内容,对于理解JSP标签库的工作原理及其使用方式有很好的参考价值。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
                        "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
 <tlib-version>2.2.3</tlib-version>
 <jsp-version>1.2</jsp-version>
 <short-name>lego</short-name>
 <uri>/lego-tags</uri>
 <display-name>"Tags"</display-name>
 <description>"Taglib"</description>
 <tag>
  <name>head</name>
  <tag-class>com.shi.ui.tag.SwebHeadTag</tag-class>
  <body-content>JSP</body-content>
  <attribute>
   <name>locale</name>
   <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
   <name>extLib</name>
   <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
   <name>extend</name>
   <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
   <name>debug</name>
   <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
   <name>cache</name>
   <rtexprvalue>true</rtexprvalue>
  </attribute>

 </tag>

</taglib>


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值