📄 example-taglib.tld
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?><!-- Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.--><!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>1.0</tlib-version> <jsp-version>1.2</jsp-version> <short-name>simple</short-name> <uri>http://jakarta.apache.org/tomcat/example-taglib</uri> <description> A simple tab library for the examples </description> <tag> <name>ShowSource</name> <tag-class>samples.webapps.simple.examples.ShowSource</tag-class> <description> Display JSP sources </description> <attribute> <name>jspFile</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag> <!-- A simple Tag --> <!-- foo tag --> <tag> <name>foo</name> <tag-class>samples.webapps.simple.examples.FooTag</tag-class> <tei-class>samples.webapps.simple.examples.FooTagExtraInfo</tei-class> <body-content>JSP</body-content> <description> Perform a server side action; uses 3 mandatory attributes </description> <attribute> <name>att1</name> <required>true</required> </attribute> <attribute> <name>att2</name> <required>true</required> </attribute> <attribute> <name>att3</name> <required>true</required> </attribute> </tag> <!-- Another simple tag --> <!-- log tag --> <tag> <name>log</name> <tag-class>samples.webapps.simple.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -