1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
---|
2 | <!-- |
---|
3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
4 | contributor license agreements. See the NOTICE file distributed with |
---|
5 | this work for additional information regarding copyright ownership. |
---|
6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
7 | (the "License"); you may not use this file except in compliance with |
---|
8 | the License. You may obtain a copy of the License at |
---|
9 | |
---|
10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | |
---|
12 | Unless required by applicable law or agreed to in writing, software |
---|
13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | See the License for the specific language governing permissions and |
---|
16 | limitations under the License. |
---|
17 | --> |
---|
18 | <!DOCTYPE taglib |
---|
19 | PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" |
---|
20 | "http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd"> |
---|
21 | |
---|
22 | <taglib> |
---|
23 | |
---|
24 | <tlib-version>1.0</tlib-version> |
---|
25 | <jsp-version>1.2</jsp-version> |
---|
26 | <short-name>simple</short-name> |
---|
27 | <uri>http://jakarta.apache.org/tomcat/example-taglib</uri> |
---|
28 | <description> |
---|
29 | A simple tab library for the examples |
---|
30 | </description> |
---|
31 | |
---|
32 | <tag> |
---|
33 | <name>ShowSource</name> |
---|
34 | <tag-class>examples.ShowSource</tag-class> |
---|
35 | <description> Display JSP sources </description> |
---|
36 | <attribute> |
---|
37 | <name>jspFile</name> |
---|
38 | <required>true</required> |
---|
39 | <rtexprvalue>true</rtexprvalue> |
---|
40 | </attribute> |
---|
41 | </tag> |
---|
42 | |
---|
43 | <!-- A simple Tag --> |
---|
44 | <!-- foo tag --> |
---|
45 | <tag> |
---|
46 | <name>foo</name> |
---|
47 | <tag-class>examples.FooTag</tag-class> |
---|
48 | <tei-class>examples.FooTagExtraInfo</tei-class> |
---|
49 | <body-content>JSP</body-content> |
---|
50 | <description> |
---|
51 | Perform a server side action; uses 3 mandatory attributes |
---|
52 | </description> |
---|
53 | |
---|
54 | <attribute> |
---|
55 | <name>att1</name> |
---|
56 | <required>true</required> |
---|
57 | </attribute> |
---|
58 | <attribute> |
---|
59 | <name>att2</name> |
---|
60 | <required>true</required> |
---|
61 | </attribute> |
---|
62 | <attribute> |
---|
63 | <name>att3</name> |
---|
64 | <required>true</required> |
---|
65 | </attribute> |
---|
66 | </tag> |
---|
67 | |
---|
68 | <!-- Another simple tag --> |
---|
69 | <!-- log tag --> |
---|
70 | <tag> |
---|
71 | <name>log</name> |
---|
72 | <tag-class>examples.LogTag</tag-class> |
---|
73 | <body-content>TAGDEPENDENT</body-content> |
---|
74 | <description> |
---|
75 | Perform a server side action; Log the message. |
---|
76 | </description> |
---|
77 | <attribute> |
---|
78 | <name>toBrowser</name> |
---|
79 | <required>false</required> |
---|
80 | </attribute> |
---|
81 | </tag> |
---|
82 | |
---|
83 | </taglib> |
---|