glassfish 0.1.1-universal-java-1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYRIGHT +33 -0
- data/LICENSE.txt +263 -0
- data/README +12 -0
- data/bin/asadmin +7 -0
- data/bin/asadmin.bat +8 -0
- data/bin/glassfish_rails +40 -0
- data/config/asadminenv.conf +6 -0
- data/config/asenv.bat +28 -0
- data/config/asenv.conf +27 -0
- data/config/glassfish.container +4 -0
- data/domains/domain1/config/admin-keyfile +3 -0
- data/domains/domain1/config/cacerts.jks +0 -0
- data/domains/domain1/config/default-web.xml +906 -0
- data/domains/domain1/config/domain-passwords +0 -0
- data/domains/domain1/config/domain.xml +208 -0
- data/domains/domain1/config/keyfile +6 -0
- data/domains/domain1/config/keystore.jks +0 -0
- data/domains/domain1/config/logging.properties +82 -0
- data/domains/domain1/config/login.conf +18 -0
- data/domains/domain1/config/server.policy +160 -0
- data/domains/domain1/config/sun-acc.xml +40 -0
- data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
- data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
- data/domains/domain1/docroot/favicon.gif +0 -0
- data/domains/domain1/docroot/index.html +87 -0
- data/domains/domain1/master-password +0 -0
- data/lib/appclient/appclientlogin.conf +10 -0
- data/lib/appclient/client.policy +79 -0
- data/lib/appclient/wss-client-config-1.0.xml +84 -0
- data/lib/appclient/wss-client-config-2.0.xml +96 -0
- data/lib/dtds/application-client_1_2.dtd +292 -0
- data/lib/dtds/application-client_1_3.dtd +506 -0
- data/lib/dtds/application_1_2.dtd +197 -0
- data/lib/dtds/application_1_3.dtd +312 -0
- data/lib/dtds/connector_1_0.dtd +561 -0
- data/lib/dtds/ejb-jar_1_1.dtd +894 -0
- data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
- data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
- data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
- data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
- data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
- data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
- data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
- data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
- data/lib/dtds/sun-application_1_3-0.dtd +30 -0
- data/lib/dtds/sun-application_1_4-0.dtd +44 -0
- data/lib/dtds/sun-application_5_0-0.dtd +51 -0
- data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
- data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
- data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
- data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
- data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
- data/lib/dtds/sun-domain_1_0.dtd +2007 -0
- data/lib/dtds/sun-domain_1_1.dtd +3080 -0
- data/lib/dtds/sun-domain_1_2.dtd +3697 -0
- data/lib/dtds/sun-domain_1_3.dtd +3867 -0
- data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
- data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
- data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
- data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
- data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
- data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
- data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
- data/lib/dtds/sun-resources_1_0.dtd +650 -0
- data/lib/dtds/sun-resources_1_1.dtd +650 -0
- data/lib/dtds/sun-resources_1_2.dtd +662 -0
- data/lib/dtds/sun-resources_1_3.dtd +732 -0
- data/lib/dtds/sun-server_1_0.dtd +1056 -0
- data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
- data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
- data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
- data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
- data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
- data/lib/dtds/web-app_2_2.dtd +639 -0
- data/lib/dtds/web-app_2_3.dtd +1063 -0
- data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
- data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
- data/lib/package-appclient.xml +185 -0
- data/lib/processLauncher.properties +25 -0
- data/lib/processLauncher.xml +189 -0
- data/lib/schemas/XMLSchema.dtd +402 -0
- data/lib/schemas/application-client_1_4.xsd +267 -0
- data/lib/schemas/application-client_5.xsd +304 -0
- data/lib/schemas/application_1_4.xsd +315 -0
- data/lib/schemas/application_5.xsd +336 -0
- data/lib/schemas/connector_1_5.xsd +1036 -0
- data/lib/schemas/datatypes.dtd +203 -0
- data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
- data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
- data/lib/schemas/j2ee_1_4.xsd +1608 -0
- data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
- data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
- data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
- data/lib/schemas/javaee_5.xsd +2096 -0
- data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
- data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
- data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
- data/lib/schemas/jsp_2_0.xsd +308 -0
- data/lib/schemas/jsp_2_1.xsd +343 -0
- data/lib/schemas/orm_1_0.xsd +1516 -0
- data/lib/schemas/persistence_1_0.xsd +260 -0
- data/lib/schemas/web-app_2_4.xsd +1234 -0
- data/lib/schemas/web-app_2_5.xsd +1271 -0
- data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
- data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
- data/lib/schemas/xml.xsd +82 -0
- data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
- data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
- data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
- data/modules/config-0.2-SNAPSHOT.jar +0 -0
- data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
- data/modules/glassfish.rb +10 -0
- data/modules/grizzly-framework-1.7.1.jar +0 -0
- data/modules/grizzly-http-1.7.1.jar +0 -0
- data/modules/grizzly-http-utils-1.7.1.jar +0 -0
- data/modules/grizzly-jruby-1.7.0.jar +0 -0
- data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
- data/modules/grizzly-module-1.7.1.jar +0 -0
- data/modules/grizzly-portunif-1.7.1.jar +0 -0
- data/modules/grizzly-rcm-1.7.1.jar +0 -0
- data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
- data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
- data/modules/junit-4.3.1.jar +0 -0
- data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
- data/modules/persistence-api-1.0b.jar +0 -0
- data/modules/servlet-api-2.5.jar +0 -0
- data/modules/sjsxp-1.0.jar +0 -0
- data/modules/stax-api-1.0-2.jar +0 -0
- data/modules/tiger-types-1.0.jar +0 -0
- metadata +206 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 1999 Sun Microsystems, Inc. 901 San Antonio Road,
|
|
3
|
+
Palo Alto, CA 94303, U.S.A. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This product or document is protected by copyright and distributed
|
|
6
|
+
under licenses restricting its use, copying, distribution, and
|
|
7
|
+
decompilation. No part of this product or documentation may be
|
|
8
|
+
reproduced in any form by any means without prior written authorization
|
|
9
|
+
of Sun and its licensors, if any.
|
|
10
|
+
|
|
11
|
+
Third party software, including font technology, is copyrighted and
|
|
12
|
+
licensed from Sun suppliers.
|
|
13
|
+
|
|
14
|
+
Sun, Sun Microsystems, the Sun Logo, Solaris, Java, JavaServer Pages, Java
|
|
15
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail and Enterprise JavaBeans,
|
|
16
|
+
are trademarks or registered trademarks of Sun Microsystems, Inc in the U.S.
|
|
17
|
+
and other countries.
|
|
18
|
+
|
|
19
|
+
All SPARC trademarks are used under license and are trademarks
|
|
20
|
+
or registered trademarks of SPARC International, Inc.
|
|
21
|
+
in the U.S. and other countries. Products bearing SPARC
|
|
22
|
+
trademarks are based upon an architecture developed by Sun Microsystems, Inc.
|
|
23
|
+
|
|
24
|
+
PostScript is a registered trademark of Adobe Systems, Inc.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Federal Acquisitions: Commercial Software - Government Users Subject to
|
|
28
|
+
Standard License Terms and Conditions.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED
|
|
33
|
+
CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
|
|
34
|
+
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
35
|
+
PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT
|
|
36
|
+
TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY
|
|
37
|
+
INVALID.
|
|
38
|
+
|
|
39
|
+
_________________________________________________________________________
|
|
40
|
+
Copyright 1999 Sun Microsystems, Inc.,
|
|
41
|
+
901 San Antonio Road, Palo Alto, CA 94303, Etats-Unis.
|
|
42
|
+
Tous droits re'serve's.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
Ce produit ou document est prote'ge' par un copyright et distribue' avec
|
|
46
|
+
des licences qui en restreignent l'utilisation, la copie, la distribution,
|
|
47
|
+
et la de'compilation. Aucune partie de ce produit ou de sa documentation
|
|
48
|
+
associe'e ne peut e^tre reproduite sous aucune forme, par quelque moyen
|
|
49
|
+
que ce soit, sans l'autorisation pre'alable et e'crite de Sun et de ses
|
|
50
|
+
bailleurs de licence, s'il y en a.
|
|
51
|
+
|
|
52
|
+
Le logiciel de'tenu par des tiers, et qui comprend la technologie
|
|
53
|
+
relative aux polices de caracte`res, est prote'ge' par un copyright
|
|
54
|
+
et licencie' par des fournisseurs de Sun.
|
|
55
|
+
|
|
56
|
+
Sun, Sun Microsystems, le logo Sun, Solaris, Java, JavaServer Pages, Java
|
|
57
|
+
Naming and Directory Interface, JDBC, JDK, JavaMail, et Enterprise JavaBeans,
|
|
58
|
+
sont des marques de fabrique ou des marques de'pose'es de Sun
|
|
59
|
+
Microsystems, Inc. aux Etats-Unis et dans d'autres pays.
|
|
60
|
+
|
|
61
|
+
Toutes les marques SPARC sont utilise'es sous licence et sont
|
|
62
|
+
des marques de fabrique ou des marques de'pose'es de SPARC
|
|
63
|
+
International, Inc. aux Etats-Unis et dans
|
|
64
|
+
d'autres pays. Les produits portant les marques SPARC sont
|
|
65
|
+
base's sur une architecture de'veloppe'e par Sun Microsystems, Inc.
|
|
66
|
+
|
|
67
|
+
Postcript est une marque enregistre'e d'Adobe Systems Inc.
|
|
68
|
+
|
|
69
|
+
LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS,
|
|
70
|
+
DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES,
|
|
71
|
+
DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT
|
|
72
|
+
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE
|
|
73
|
+
A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.
|
|
74
|
+
-->
|
|
75
|
+
|
|
76
|
+
<!--
|
|
77
|
+
|
|
78
|
+
This is the DTD defining the JavaServer Pages 1.1 Tag Library
|
|
79
|
+
descriptor (.tld) (XML) file format/syntax.
|
|
80
|
+
|
|
81
|
+
A Tag Library is a JAR file containing a valid instance of a Tag Library
|
|
82
|
+
Descriptor (taglib.tld) file in the META-INF subdirectory, along with the
|
|
83
|
+
appropriate implementing classes, and other resources required to
|
|
84
|
+
implement the tags defined therein.
|
|
85
|
+
|
|
86
|
+
-->
|
|
87
|
+
|
|
88
|
+
<!--
|
|
89
|
+
The taglib tag is the document root, it defines:
|
|
90
|
+
|
|
91
|
+
tlibversion the version of the tag library implementation
|
|
92
|
+
jspversion the version of JSP the tag library depends upon
|
|
93
|
+
|
|
94
|
+
shortname a simple default short name that could be used by
|
|
95
|
+
a JSP authoring tool to create names with a mnemonic
|
|
96
|
+
value; for example, the it may be used as the prefered
|
|
97
|
+
prefix value in taglib directives
|
|
98
|
+
uri a uri uniquely identifying this taglib
|
|
99
|
+
info a simple string describing the "use" of this taglib,
|
|
100
|
+
should be user discernable
|
|
101
|
+
-->
|
|
102
|
+
|
|
103
|
+
<!ELEMENT taglib (tlibversion, jspversion?, shortname, uri?, info?, tag+) >
|
|
104
|
+
<!ATTLIST taglib id ID #IMPLIED
|
|
105
|
+
xmlns CDATA #FIXED
|
|
106
|
+
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"
|
|
107
|
+
>
|
|
108
|
+
|
|
109
|
+
<!--
|
|
110
|
+
Describes this version (number) of the taglibrary (dewey decimal)
|
|
111
|
+
|
|
112
|
+
#PCDATA ::= [0-9]*{ "."[0-9] }0..3
|
|
113
|
+
-->
|
|
114
|
+
|
|
115
|
+
<!ELEMENT tlibversion (#PCDATA) >
|
|
116
|
+
|
|
117
|
+
<!--
|
|
118
|
+
Describes the JSP version (number) this taglibrary requires in
|
|
119
|
+
order to function (dewey decimal)
|
|
120
|
+
|
|
121
|
+
The default is 1.1
|
|
122
|
+
|
|
123
|
+
#PCDATA ::= [0-9]*{ "."[0-9] }0..3
|
|
124
|
+
-->
|
|
125
|
+
|
|
126
|
+
<!ELEMENT jspversion (#PCDATA) >
|
|
127
|
+
|
|
128
|
+
<!--
|
|
129
|
+
Defines a short (default) shortname to be used for tags and
|
|
130
|
+
variable names used/created by this tag library. Do not use
|
|
131
|
+
white space, and do not start with digits or underscore.
|
|
132
|
+
|
|
133
|
+
#PCDATA ::= NMTOKEN
|
|
134
|
+
-->
|
|
135
|
+
|
|
136
|
+
<!ELEMENT shortname (#PCDATA) >
|
|
137
|
+
|
|
138
|
+
<!--
|
|
139
|
+
Defines a public URI that uniquely identifies this version of
|
|
140
|
+
the taglibrary Leave it empty if it does not apply.
|
|
141
|
+
-->
|
|
142
|
+
|
|
143
|
+
<!ELEMENT uri (#PCDATA) >
|
|
144
|
+
|
|
145
|
+
<!--
|
|
146
|
+
Defines an arbitrary text string descirbing the tag library
|
|
147
|
+
-->
|
|
148
|
+
|
|
149
|
+
<!ELEMENT info (#PCDATA) >
|
|
150
|
+
|
|
151
|
+
<!--
|
|
152
|
+
The tag defines a unique tag in this tag library, defining:
|
|
153
|
+
|
|
154
|
+
- the unique tag/element name
|
|
155
|
+
- the subclass of javax.servlet.jsp.tagext.Tag implementation class
|
|
156
|
+
- an optional subclass of javax.servlet.jsp.tagext.TagExtraInfo
|
|
157
|
+
- the body content type (hint)
|
|
158
|
+
- optional tag-specific information
|
|
159
|
+
- any attributes
|
|
160
|
+
-->
|
|
161
|
+
|
|
162
|
+
<!ELEMENT tag (name, tagclass, teiclass?, bodycontent?, info?, attribute*) >
|
|
163
|
+
|
|
164
|
+
<!--
|
|
165
|
+
Defines the subclass of javax.serlvet.jsp.tagext.Tag that implements
|
|
166
|
+
the request time semantics for this tag. (required)
|
|
167
|
+
|
|
168
|
+
#PCDATA ::= fully qualified Java class name
|
|
169
|
+
-->
|
|
170
|
+
|
|
171
|
+
<!ELEMENT tagclass (#PCDATA) >
|
|
172
|
+
|
|
173
|
+
<!--
|
|
174
|
+
Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo for
|
|
175
|
+
this tag. (optional)
|
|
176
|
+
|
|
177
|
+
If this is not given, the class is not consulted at translation time.
|
|
178
|
+
|
|
179
|
+
#PCDATA ::= fully qualified Java class name
|
|
180
|
+
-->
|
|
181
|
+
|
|
182
|
+
<!ELEMENT teiclass (#PCDATA) >
|
|
183
|
+
|
|
184
|
+
<!--
|
|
185
|
+
Provides a hint as to the content of the body of this tag. Primarily
|
|
186
|
+
intended for use by page composition tools.
|
|
187
|
+
|
|
188
|
+
There are currently three values specified:
|
|
189
|
+
|
|
190
|
+
tagdependent The body of the tag is interpreted by the tag
|
|
191
|
+
implementation itself, and is most likely in a
|
|
192
|
+
different "langage", e.g embedded SQL statements.
|
|
193
|
+
|
|
194
|
+
JSP The body of the tag contains nested JSP syntax
|
|
195
|
+
|
|
196
|
+
empty The body must be empty
|
|
197
|
+
|
|
198
|
+
The default (if not defined) is JSP
|
|
199
|
+
|
|
200
|
+
#PCDATA ::= tagdependent | JSP | empty
|
|
201
|
+
|
|
202
|
+
-->
|
|
203
|
+
|
|
204
|
+
<!ELEMENT bodycontent (#PCDATA) >
|
|
205
|
+
|
|
206
|
+
<!--
|
|
207
|
+
The attribute tag defines an attribute for the nesting tag
|
|
208
|
+
|
|
209
|
+
An attribute definition is composed of:
|
|
210
|
+
|
|
211
|
+
- the attributes name (required)
|
|
212
|
+
- if the attribute is required or optional (optional)
|
|
213
|
+
- if the attributes value may be dynamically calculated at runtime
|
|
214
|
+
by a scriptlet expression (optional)
|
|
215
|
+
|
|
216
|
+
-->
|
|
217
|
+
|
|
218
|
+
<!ELEMENT attribute (name, required? , rtexprvalue?) >
|
|
219
|
+
|
|
220
|
+
<!--
|
|
221
|
+
Defines the canonical name of a tag or attribute being defined
|
|
222
|
+
|
|
223
|
+
#PCDATA ::= NMTOKEN
|
|
224
|
+
-->
|
|
225
|
+
|
|
226
|
+
<!ELEMENT name (#PCDATA) >
|
|
227
|
+
|
|
228
|
+
<!--
|
|
229
|
+
Defines if the nesting attribute is required or optional.
|
|
230
|
+
|
|
231
|
+
#PCDATA ::= true | false | yes | no
|
|
232
|
+
|
|
233
|
+
If not present then the default is "false", i.e the attribute
|
|
234
|
+
is optional.
|
|
235
|
+
-->
|
|
236
|
+
|
|
237
|
+
<!ELEMENT required (#PCDATA) >
|
|
238
|
+
|
|
239
|
+
<!--
|
|
240
|
+
Defines if the nesting attribute can have scriptlet expressions as
|
|
241
|
+
a value, i.e the value of the attribute may be dynamically calculated
|
|
242
|
+
at request time, as opposed to a static value determined at translation
|
|
243
|
+
time.
|
|
244
|
+
|
|
245
|
+
#PCDATA ::= true | false | yes | no
|
|
246
|
+
|
|
247
|
+
If not present then the default is "false", i.e the attribute
|
|
248
|
+
has a static value
|
|
249
|
+
-->
|
|
250
|
+
|
|
251
|
+
<!ELEMENT rtexprvalue (#PCDATA) >
|
|
252
|
+
|
|
253
|
+
<!ATTLIST tlibversion id ID #IMPLIED>
|
|
254
|
+
<!ATTLIST jspversion id ID #IMPLIED>
|
|
255
|
+
<!ATTLIST shortname id ID #IMPLIED>
|
|
256
|
+
<!ATTLIST uri id ID #IMPLIED>
|
|
257
|
+
<!ATTLIST info id ID #IMPLIED>
|
|
258
|
+
<!ATTLIST tag id ID #IMPLIED>
|
|
259
|
+
<!ATTLIST tagclass id ID #IMPLIED>
|
|
260
|
+
<!ATTLIST teiclass id ID #IMPLIED>
|
|
261
|
+
<!ATTLIST bodycontent id ID #IMPLIED>
|
|
262
|
+
<!ATTLIST attribute id ID #IMPLIED>
|
|
263
|
+
<!ATTLIST name id ID #IMPLIED>
|
|
264
|
+
<!ATTLIST required id ID #IMPLIED>
|
|
265
|
+
<!ATTLIST rtexprvalue id ID #IMPLIED>
|
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
|
|
2
|
+
<!--
|
|
3
|
+
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
|
|
4
|
+
Use is subject to license terms.
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
<!--
|
|
8
|
+
|
|
9
|
+
This is the DTD defining the JavaServer Pages 1.2 Tag Library
|
|
10
|
+
descriptor (.tld) (XML) file format/syntax.
|
|
11
|
+
|
|
12
|
+
A Tag Library is a JAR file containing a valid instance of a Tag Library
|
|
13
|
+
Descriptor (taglib.tld) file in the META-INF subdirectory, along with the
|
|
14
|
+
appropriate implementing classes, and other resources required to
|
|
15
|
+
implement the tags defined therein.
|
|
16
|
+
|
|
17
|
+
Use is subject to license terms.
|
|
18
|
+
-->
|
|
19
|
+
|
|
20
|
+
<!NOTATION WEB-JSPTAGLIB.1_2 PUBLIC
|
|
21
|
+
"-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN">
|
|
22
|
+
|
|
23
|
+
<!--
|
|
24
|
+
This is the XML DTD for the JSP 1.2 Tag Library Descriptor.
|
|
25
|
+
All JSP 1.2 tag library descriptors must include a DOCTYPE
|
|
26
|
+
of the following form:
|
|
27
|
+
|
|
28
|
+
<!DOCTYPE taglib
|
|
29
|
+
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
|
30
|
+
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
|
31
|
+
|
|
32
|
+
-->
|
|
33
|
+
|
|
34
|
+
<!--
|
|
35
|
+
The taglib tag is the document root, it defines:
|
|
36
|
+
|
|
37
|
+
tlib-version the version of the tag library implementation
|
|
38
|
+
|
|
39
|
+
jsp-version the version of JSP the tag library depends upon
|
|
40
|
+
|
|
41
|
+
short-name a simple default short name that could be used by
|
|
42
|
+
a JSP authoring tool to create names with a mnemonic
|
|
43
|
+
value; for example, the it may be used as the prefered
|
|
44
|
+
prefix value in taglib directives
|
|
45
|
+
|
|
46
|
+
uri a uri uniquely identifying this taglib
|
|
47
|
+
|
|
48
|
+
display-name the display-name element contains a short name that
|
|
49
|
+
is intended to be displayed by tools
|
|
50
|
+
small-icon optional small-icon that can be used by tools
|
|
51
|
+
|
|
52
|
+
large-icon optional large-icon that can be used by tools
|
|
53
|
+
|
|
54
|
+
description a simple string describing the "use" of this taglib,
|
|
55
|
+
should be user discernable
|
|
56
|
+
|
|
57
|
+
validator optional TagLibraryValidator information
|
|
58
|
+
|
|
59
|
+
listener optional event listener specification
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
-->
|
|
63
|
+
|
|
64
|
+
<!ELEMENT taglib (tlib-version, jsp-version, short-name, uri?,
|
|
65
|
+
display-name?, small-icon?, large-icon?, description?,
|
|
66
|
+
validator?, listener*, tag+) >
|
|
67
|
+
|
|
68
|
+
<!ATTLIST taglib id ID #IMPLIED
|
|
69
|
+
xmlns CDATA #FIXED
|
|
70
|
+
"http://java.sun.com/JSP/TagLibraryDescriptor"
|
|
71
|
+
>
|
|
72
|
+
|
|
73
|
+
<!--
|
|
74
|
+
Describes this version (number) of the taglibrary (dewey decimal)
|
|
75
|
+
|
|
76
|
+
#PCDATA ::= [0-9]*{ "."[0-9] }0..3
|
|
77
|
+
-->
|
|
78
|
+
|
|
79
|
+
<!ELEMENT tlib-version (#PCDATA) >
|
|
80
|
+
|
|
81
|
+
<!--
|
|
82
|
+
Describes the JSP version (number) this taglibrary requires in
|
|
83
|
+
order to function (dewey decimal)
|
|
84
|
+
|
|
85
|
+
The default is 1.2
|
|
86
|
+
|
|
87
|
+
#PCDATA ::= [0-9]*{ "."[0-9] }0..3
|
|
88
|
+
-->
|
|
89
|
+
|
|
90
|
+
<!ELEMENT jsp-version (#PCDATA) >
|
|
91
|
+
|
|
92
|
+
<!--
|
|
93
|
+
Defines a short (default) short-name to be used for tags and
|
|
94
|
+
variable names used/created by this tag library. Do not use
|
|
95
|
+
white space, and do not start with digits or underscore.
|
|
96
|
+
|
|
97
|
+
#PCDATA ::= NMTOKEN
|
|
98
|
+
-->
|
|
99
|
+
|
|
100
|
+
<!ELEMENT short-name (#PCDATA) >
|
|
101
|
+
|
|
102
|
+
<!--
|
|
103
|
+
Defines a public URI that uniquely identifies this version of
|
|
104
|
+
the taglibrary. Leave it empty if it does not apply.
|
|
105
|
+
-->
|
|
106
|
+
|
|
107
|
+
<!ELEMENT uri (#PCDATA) >
|
|
108
|
+
|
|
109
|
+
<!--
|
|
110
|
+
Defines an arbitrary text string descirbing the tag library
|
|
111
|
+
-->
|
|
112
|
+
|
|
113
|
+
<!ELEMENT description (#PCDATA) >
|
|
114
|
+
|
|
115
|
+
<!--
|
|
116
|
+
|
|
117
|
+
Defines an optional validator that can be used to
|
|
118
|
+
validate the conformance of a JSP page to using this tag library.
|
|
119
|
+
-->
|
|
120
|
+
|
|
121
|
+
<!ELEMENT validator (validator-class, init-param*, description?) >
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<!--
|
|
125
|
+
|
|
126
|
+
Defines the TagLibraryValidator class that can be used to
|
|
127
|
+
validate the conformance of a JSP page to using this tag library.
|
|
128
|
+
-->
|
|
129
|
+
|
|
130
|
+
<!ELEMENT validator-class (#PCDATA) >
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
<!--
|
|
134
|
+
|
|
135
|
+
The init-param element contains a name/value pair as an
|
|
136
|
+
initialization param
|
|
137
|
+
-->
|
|
138
|
+
|
|
139
|
+
<!ELEMENT init-param (param-name, param-value, description?)>
|
|
140
|
+
|
|
141
|
+
<!--
|
|
142
|
+
|
|
143
|
+
The param-name element contains the name of a parameter.
|
|
144
|
+
-->
|
|
145
|
+
|
|
146
|
+
<!ELEMENT param-name (#PCDATA)>
|
|
147
|
+
|
|
148
|
+
<!--
|
|
149
|
+
|
|
150
|
+
The param-value element contains the value of a parameter.
|
|
151
|
+
-->
|
|
152
|
+
|
|
153
|
+
<!ELEMENT param-value (#PCDATA)>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
<!--
|
|
157
|
+
|
|
158
|
+
Defines an optional event listener object to be instantiated and
|
|
159
|
+
registered automatically.
|
|
160
|
+
-->
|
|
161
|
+
|
|
162
|
+
<!ELEMENT listener (listener-class) >
|
|
163
|
+
|
|
164
|
+
<!--
|
|
165
|
+
|
|
166
|
+
The listener-class element declares a class in the application that
|
|
167
|
+
must be registered as a web application listener bean. See the
|
|
168
|
+
Servlet 2.3 specification for details.
|
|
169
|
+
-->
|
|
170
|
+
|
|
171
|
+
<!ELEMENT listener-class (#PCDATA) >
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<!--
|
|
175
|
+
The tag defines a unique tag in this tag library. It has one
|
|
176
|
+
attribute, id.
|
|
177
|
+
|
|
178
|
+
The tag element may have several subelements defining:
|
|
179
|
+
|
|
180
|
+
name The unique action name
|
|
181
|
+
|
|
182
|
+
tag-class The tag handler class implementing
|
|
183
|
+
javax.servlet.jsp.tagext.Tag
|
|
184
|
+
|
|
185
|
+
tei-class An optional subclass of
|
|
186
|
+
javax.servlet.jsp.tagext.TagExtraInfo
|
|
187
|
+
|
|
188
|
+
body-content The body content type
|
|
189
|
+
|
|
190
|
+
display-name A short name that is intended to be displayed
|
|
191
|
+
by tools
|
|
192
|
+
|
|
193
|
+
small-icon Optional small-icon that can be used by tools
|
|
194
|
+
|
|
195
|
+
large-icon Optional large-icon that can be used by tools
|
|
196
|
+
|
|
197
|
+
description Optional tag-specific information
|
|
198
|
+
|
|
199
|
+
variable Optional scripting variable information
|
|
200
|
+
|
|
201
|
+
attribute All attributes of this action
|
|
202
|
+
|
|
203
|
+
example Optional informal description of an example of a
|
|
204
|
+
use of this tag
|
|
205
|
+
|
|
206
|
+
-->
|
|
207
|
+
|
|
208
|
+
<!ELEMENT tag (name, tag-class, tei-class?, body-content?, display-name?,
|
|
209
|
+
small-icon?, large-icon?, description?, variable*, attribute*,
|
|
210
|
+
example?) >
|
|
211
|
+
|
|
212
|
+
<!--
|
|
213
|
+
Defines the subclass of javax.serlvet.jsp.tagext.Tag that implements
|
|
214
|
+
the request time semantics for this tag. (required)
|
|
215
|
+
|
|
216
|
+
#PCDATA ::= fully qualified Java class name
|
|
217
|
+
-->
|
|
218
|
+
|
|
219
|
+
<!ELEMENT tag-class (#PCDATA) >
|
|
220
|
+
|
|
221
|
+
<!--
|
|
222
|
+
Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo for
|
|
223
|
+
this tag. (optional)
|
|
224
|
+
|
|
225
|
+
If this is not given, the class is not consulted at translation time.
|
|
226
|
+
|
|
227
|
+
#PCDATA ::= fully qualified Java class name
|
|
228
|
+
-->
|
|
229
|
+
|
|
230
|
+
<!ELEMENT tei-class (#PCDATA) >
|
|
231
|
+
|
|
232
|
+
<!--
|
|
233
|
+
Provides a hint as to the content of the body of this tag. Primarily
|
|
234
|
+
intended for use by page composition tools.
|
|
235
|
+
|
|
236
|
+
There are currently three values specified:
|
|
237
|
+
|
|
238
|
+
tagdependent The body of the tag is interpreted by the tag
|
|
239
|
+
implementation itself, and is most likely in a
|
|
240
|
+
different "langage", e.g embedded SQL statements.
|
|
241
|
+
|
|
242
|
+
JSP The body of the tag contains nested JSP syntax
|
|
243
|
+
|
|
244
|
+
empty The body must be empty
|
|
245
|
+
|
|
246
|
+
The default (if not defined) is JSP
|
|
247
|
+
|
|
248
|
+
#PCDATA ::= tagdependent | JSP | empty
|
|
249
|
+
|
|
250
|
+
-->
|
|
251
|
+
|
|
252
|
+
<!ELEMENT body-content (#PCDATA) >
|
|
253
|
+
|
|
254
|
+
<!--
|
|
255
|
+
|
|
256
|
+
The display-name element contains a short name that is intended
|
|
257
|
+
to be displayed by tools.
|
|
258
|
+
-->
|
|
259
|
+
|
|
260
|
+
<!ELEMENT display-name (#PCDATA) >
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<!--
|
|
264
|
+
|
|
265
|
+
The large-icon element contains the name of a file containing a large
|
|
266
|
+
(32 x 32) icon image. The file name is a relative path within the
|
|
267
|
+
tag library. The image must be either in the JPEG or GIF format, and
|
|
268
|
+
the file name must end with the suffix ".jpg" or ".gif" respectively.
|
|
269
|
+
The icon can be used by tools.
|
|
270
|
+
-->
|
|
271
|
+
|
|
272
|
+
<!ELEMENT large-icon (#PCDATA) >
|
|
273
|
+
|
|
274
|
+
<!--
|
|
275
|
+
|
|
276
|
+
The small-icon element contains the name of a file containing a large
|
|
277
|
+
(32 x 32) icon image. The file name is a relative path within the
|
|
278
|
+
tag library. The image must be either in the JPEG or GIF format, and
|
|
279
|
+
the file name must end with the suffix ".jpg" or ".gif" respectively.
|
|
280
|
+
The icon can be used by tools.
|
|
281
|
+
-->
|
|
282
|
+
|
|
283
|
+
<!ELEMENT small-icon (#PCDATA) >
|
|
284
|
+
|
|
285
|
+
<!--
|
|
286
|
+
|
|
287
|
+
The example element contains an informal description of an example
|
|
288
|
+
of the use of a tag.
|
|
289
|
+
-->
|
|
290
|
+
|
|
291
|
+
<!ELEMENT example (#PCDATA) >
|
|
292
|
+
|
|
293
|
+
<!--
|
|
294
|
+
|
|
295
|
+
The variable tag provides information on the scripting variables
|
|
296
|
+
defined by this tag. It is a (translation time) error for a tag
|
|
297
|
+
that has one or more variable subelements to have a TagExtraInfo
|
|
298
|
+
class that returns a non-null object.
|
|
299
|
+
|
|
300
|
+
The subelements of variable are of the form:
|
|
301
|
+
|
|
302
|
+
name-given The variable name as a constant
|
|
303
|
+
|
|
304
|
+
name-from-attribute The name of an attribute whose (translation
|
|
305
|
+
time) value will give the name of the
|
|
306
|
+
variable. One of name-given or
|
|
307
|
+
name-from-attribute is required.
|
|
308
|
+
|
|
309
|
+
variable-class Name of the class of the variable.
|
|
310
|
+
java.lang.String is default.
|
|
311
|
+
|
|
312
|
+
declare Whether the variable is declared or not.
|
|
313
|
+
True is the default.
|
|
314
|
+
|
|
315
|
+
scope The scope of the scripting varaible
|
|
316
|
+
defined. NESTED is default.
|
|
317
|
+
|
|
318
|
+
description Optional description of this variable
|
|
319
|
+
|
|
320
|
+
-->
|
|
321
|
+
|
|
322
|
+
<!ELEMENT variable ( (name-given | name-from-attribute), variable-class?,
|
|
323
|
+
declare?, scope?, description?) >
|
|
324
|
+
|
|
325
|
+
<!--
|
|
326
|
+
|
|
327
|
+
The name for the scripting variable. One of name-given or
|
|
328
|
+
name-from-attribute is required.
|
|
329
|
+
-->
|
|
330
|
+
|
|
331
|
+
<!ELEMENT name-given (#PCDATA) >
|
|
332
|
+
|
|
333
|
+
<!--
|
|
334
|
+
|
|
335
|
+
The name of an attribute whose (translation-time) value will give
|
|
336
|
+
the name of the variable. One of name-given or name-from-attribute
|
|
337
|
+
is required.
|
|
338
|
+
-->
|
|
339
|
+
|
|
340
|
+
<!ELEMENT name-from-attribute (#PCDATA) >
|
|
341
|
+
|
|
342
|
+
<!--
|
|
343
|
+
|
|
344
|
+
The optional name of the class for the scripting variable. The
|
|
345
|
+
default is java.lang.String.
|
|
346
|
+
-->
|
|
347
|
+
|
|
348
|
+
<!ELEMENT variable-class (#PCDATA) >
|
|
349
|
+
|
|
350
|
+
<!--
|
|
351
|
+
|
|
352
|
+
Whether the scripting variable is to be defined or not. See
|
|
353
|
+
TagExtraInfo for details. This element is optional and "true"
|
|
354
|
+
is the default.
|
|
355
|
+
-->
|
|
356
|
+
|
|
357
|
+
<!ELEMENT declare (#PCDATA) >
|
|
358
|
+
|
|
359
|
+
<!--
|
|
360
|
+
|
|
361
|
+
The scope of the scripting variable. See TagExtraInfo for details.
|
|
362
|
+
The element is optional and "NESTED" is the default. Other legal
|
|
363
|
+
values are "AT_BEGIN" and "AT_END".
|
|
364
|
+
-->
|
|
365
|
+
|
|
366
|
+
<!ELEMENT scope (#PCDATA) >
|
|
367
|
+
|
|
368
|
+
<!--
|
|
369
|
+
|
|
370
|
+
The attribute tag defines an attribute for the nesting tag
|
|
371
|
+
|
|
372
|
+
An attribute definition is composed of:
|
|
373
|
+
|
|
374
|
+
- the attributes name (required)
|
|
375
|
+
- if the attribute is required or optional (optional)
|
|
376
|
+
- if the attributes value may be dynamically calculated at runtime
|
|
377
|
+
by a scriptlet expression (optional)
|
|
378
|
+
- the type of the attributes value (optional)
|
|
379
|
+
- an informal description of the meaning of the attribute (optional)
|
|
380
|
+
|
|
381
|
+
-->
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
<!--
|
|
385
|
+
The attribute tag defines an attribute for the nesting tag
|
|
386
|
+
|
|
387
|
+
An attribute definition is composed of:
|
|
388
|
+
|
|
389
|
+
- the attributes name (required)
|
|
390
|
+
|
|
391
|
+
- if the attribute is required or optional (optional)
|
|
392
|
+
|
|
393
|
+
- if the attributes value may be dynamically calculated at runtime
|
|
394
|
+
by a scriptlet expression (optional)
|
|
395
|
+
|
|
396
|
+
- the type of the attributes value (optional)
|
|
397
|
+
|
|
398
|
+
- an informal description of the meaning of the attribute (optional)
|
|
399
|
+
-->
|
|
400
|
+
|
|
401
|
+
<!ELEMENT attribute (name, required? , rtexprvalue?, type?, description?) >
|
|
402
|
+
|
|
403
|
+
<!--
|
|
404
|
+
Defines the canonical name of a tag or attribute being defined
|
|
405
|
+
|
|
406
|
+
#PCDATA ::= NMTOKEN
|
|
407
|
+
-->
|
|
408
|
+
|
|
409
|
+
<!ELEMENT name (#PCDATA) >
|
|
410
|
+
|
|
411
|
+
<!--
|
|
412
|
+
Defines if the nesting attribute is required or optional.
|
|
413
|
+
|
|
414
|
+
#PCDATA ::= true | false | yes | no
|
|
415
|
+
|
|
416
|
+
If not present then the default is "false", i.e the attribute
|
|
417
|
+
is optional.
|
|
418
|
+
-->
|
|
419
|
+
|
|
420
|
+
<!ELEMENT required (#PCDATA) >
|
|
421
|
+
|
|
422
|
+
<!--
|
|
423
|
+
Defines if the nesting attribute can have scriptlet expressions as
|
|
424
|
+
a value, i.e the value of the attribute may be dynamically calculated
|
|
425
|
+
at request time, as opposed to a static value determined at translation
|
|
426
|
+
time.
|
|
427
|
+
|
|
428
|
+
#PCDATA ::= true | false | yes | no
|
|
429
|
+
|
|
430
|
+
If not present then the default is "false", i.e the attribute
|
|
431
|
+
has a static value
|
|
432
|
+
-->
|
|
433
|
+
|
|
434
|
+
<!ELEMENT rtexprvalue (#PCDATA) >
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
<!--
|
|
438
|
+
|
|
439
|
+
Defines the Java type of the attributes value. For static values
|
|
440
|
+
(those determined at translation time) the type is always
|
|
441
|
+
java.lang.String.
|
|
442
|
+
-->
|
|
443
|
+
|
|
444
|
+
<!ELEMENT type (#PCDATA) >
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
<!-- ID attributes -->
|
|
448
|
+
|
|
449
|
+
<!ATTLIST tlib-version id ID #IMPLIED>
|
|
450
|
+
<!ATTLIST jsp-version id ID #IMPLIED>
|
|
451
|
+
<!ATTLIST short-name id ID #IMPLIED>
|
|
452
|
+
<!ATTLIST uri id ID #IMPLIED>
|
|
453
|
+
<!ATTLIST description id ID #IMPLIED>
|
|
454
|
+
<!ATTLIST example id ID #IMPLIED>
|
|
455
|
+
<!ATTLIST tag id ID #IMPLIED>
|
|
456
|
+
<!ATTLIST tag-class id ID #IMPLIED>
|
|
457
|
+
<!ATTLIST tei-class id ID #IMPLIED>
|
|
458
|
+
<!ATTLIST body-content id ID #IMPLIED>
|
|
459
|
+
<!ATTLIST attribute id ID #IMPLIED>
|
|
460
|
+
<!ATTLIST name id ID #IMPLIED>
|
|
461
|
+
<!ATTLIST required id ID #IMPLIED>
|
|
462
|
+
<!ATTLIST rtexprvalue id ID #IMPLIED>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<!ATTLIST param-name id ID #IMPLIED>
|
|
466
|
+
<!ATTLIST param-value id ID #IMPLIED>
|
|
467
|
+
<!ATTLIST listener id ID #IMPLIED>
|
|
468
|
+
<!ATTLIST listener-class id ID #IMPLIED>
|