c-1_0.tld 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE taglib
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  4. "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  5. <taglib>
  6. <tlib-version>1.0</tlib-version>
  7. <jsp-version>1.2</jsp-version>
  8. <short-name>c</short-name>
  9. <uri>http://java.sun.com/jstl/core</uri>
  10. <display-name>JSTL core</display-name>
  11. <description>JSTL 1.0 core library</description>
  12. <validator>
  13. <validator-class>
  14. org.apache.taglibs.standard.tlv.JstlCoreTLV
  15. </validator-class>
  16. <init-param>
  17. <param-name>expressionAttributes</param-name>
  18. <param-value>
  19. out:value
  20. out:default
  21. out:escapeXml
  22. if:test
  23. import:url
  24. import:context
  25. import:charEncoding
  26. forEach:items
  27. forEach:begin
  28. forEach:end
  29. forEach:step
  30. forTokens:items
  31. forTokens:begin
  32. forTokens:end
  33. forTokens:step
  34. param:encode
  35. param:name
  36. param:value
  37. redirect:context
  38. redirect:url
  39. set:property
  40. set:target
  41. set:value
  42. url:context
  43. url:value
  44. when:test
  45. </param-value>
  46. <description>
  47. Whitespace-separated list of colon-separated token pairs
  48. describing tag:attribute combinations that accept expressions.
  49. The validator uses this information to determine which
  50. attributes need their syntax validated.
  51. </description>
  52. </init-param>
  53. </validator>
  54. <tag>
  55. <name>catch</name>
  56. <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
  57. <body-content>JSP</body-content>
  58. <description>
  59. Catches any Throwable that occurs in its body and optionally
  60. exposes it.
  61. </description>
  62. <attribute>
  63. <name>var</name>
  64. <required>false</required>
  65. <rtexprvalue>false</rtexprvalue>
  66. </attribute>
  67. </tag>
  68. <tag>
  69. <name>choose</name>
  70. <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
  71. <body-content>JSP</body-content>
  72. <description>
  73. Simple conditional tag that establishes a context for
  74. mutually exclusive conditional operations, marked by
  75. &lt;when&gt; and &lt;otherwise&gt;
  76. </description>
  77. </tag>
  78. <tag>
  79. <name>out</name>
  80. <tag-class>org.apache.taglibs.standard.tag.el.core.OutTag</tag-class>
  81. <body-content>JSP</body-content>
  82. <description>
  83. Like &lt;%= ... &gt;, but for expressions.
  84. </description>
  85. <attribute>
  86. <name>value</name>
  87. <required>true</required>
  88. <rtexprvalue>false</rtexprvalue>
  89. </attribute>
  90. <attribute>
  91. <name>default</name>
  92. <required>false</required>
  93. <rtexprvalue>false</rtexprvalue>
  94. </attribute>
  95. <attribute>
  96. <name>escapeXml</name>
  97. <required>false</required>
  98. <rtexprvalue>false</rtexprvalue>
  99. </attribute>
  100. </tag>
  101. <tag>
  102. <name>if</name>
  103. <tag-class>org.apache.taglibs.standard.tag.el.core.IfTag</tag-class>
  104. <body-content>JSP</body-content>
  105. <description>
  106. Simple conditional tag, which evalutes its body if the
  107. supplied condition is true and optionally exposes a Boolean
  108. scripting variable representing the evaluation of this condition
  109. </description>
  110. <attribute>
  111. <name>test</name>
  112. <required>true</required>
  113. <rtexprvalue>false</rtexprvalue>
  114. </attribute>
  115. <attribute>
  116. <name>var</name>
  117. <required>false</required>
  118. <rtexprvalue>false</rtexprvalue>
  119. </attribute>
  120. <attribute>
  121. <name>scope</name>
  122. <required>false</required>
  123. <rtexprvalue>false</rtexprvalue>
  124. </attribute>
  125. </tag>
  126. <tag>
  127. <name>import</name>
  128. <tag-class>org.apache.taglibs.standard.tag.el.core.ImportTag</tag-class>
  129. <tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
  130. <body-content>JSP</body-content>
  131. <description>
  132. Retrieves an absolute or relative URL and exposes its contents
  133. to either the page, a String in 'var', or a Reader in 'varReader'.
  134. </description>
  135. <attribute>
  136. <name>url</name>
  137. <required>true</required>
  138. <rtexprvalue>false</rtexprvalue>
  139. </attribute>
  140. <attribute>
  141. <name>var</name>
  142. <required>false</required>
  143. <rtexprvalue>false</rtexprvalue>
  144. </attribute>
  145. <attribute>
  146. <name>scope</name>
  147. <required>false</required>
  148. <rtexprvalue>false</rtexprvalue>
  149. </attribute>
  150. <attribute>
  151. <name>varReader</name>
  152. <required>false</required>
  153. <rtexprvalue>false</rtexprvalue>
  154. </attribute>
  155. <attribute>
  156. <name>context</name>
  157. <required>false</required>
  158. <rtexprvalue>false</rtexprvalue>
  159. </attribute>
  160. <attribute>
  161. <name>charEncoding</name>
  162. <required>false</required>
  163. <rtexprvalue>false</rtexprvalue>
  164. </attribute>
  165. </tag>
  166. <tag>
  167. <name>forEach</name>
  168. <tag-class>org.apache.taglibs.standard.tag.el.core.ForEachTag</tag-class>
  169. <tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
  170. <body-content>JSP</body-content>
  171. <description>
  172. The basic iteration tag, accepting many different
  173. collection types and supporting subsetting and other
  174. functionality
  175. </description>
  176. <attribute>
  177. <name>items</name>
  178. <required>false</required>
  179. <rtexprvalue>false</rtexprvalue>
  180. </attribute>
  181. <attribute>
  182. <name>begin</name>
  183. <required>false</required>
  184. <rtexprvalue>false</rtexprvalue>
  185. </attribute>
  186. <attribute>
  187. <name>end</name>
  188. <required>false</required>
  189. <rtexprvalue>false</rtexprvalue>
  190. </attribute>
  191. <attribute>
  192. <name>step</name>
  193. <required>false</required>
  194. <rtexprvalue>false</rtexprvalue>
  195. </attribute>
  196. <attribute>
  197. <name>var</name>
  198. <required>false</required>
  199. <rtexprvalue>false</rtexprvalue>
  200. </attribute>
  201. <attribute>
  202. <name>varStatus</name>
  203. <required>false</required>
  204. <rtexprvalue>false</rtexprvalue>
  205. </attribute>
  206. </tag>
  207. <tag>
  208. <name>forTokens</name>
  209. <tag-class>org.apache.taglibs.standard.tag.el.core.ForTokensTag</tag-class>
  210. <body-content>JSP</body-content>
  211. <description>
  212. Iterates over tokens, separated by the supplied delimeters
  213. </description>
  214. <attribute>
  215. <name>items</name>
  216. <required>true</required>
  217. <rtexprvalue>false</rtexprvalue>
  218. </attribute>
  219. <attribute>
  220. <name>delims</name>
  221. <required>true</required>
  222. <rtexprvalue>false</rtexprvalue>
  223. </attribute>
  224. <attribute>
  225. <name>begin</name>
  226. <required>false</required>
  227. <rtexprvalue>false</rtexprvalue>
  228. </attribute>
  229. <attribute>
  230. <name>end</name>
  231. <required>false</required>
  232. <rtexprvalue>false</rtexprvalue>
  233. </attribute>
  234. <attribute>
  235. <name>step</name>
  236. <required>false</required>
  237. <rtexprvalue>false</rtexprvalue>
  238. </attribute>
  239. <attribute>
  240. <name>var</name>
  241. <required>false</required>
  242. <rtexprvalue>false</rtexprvalue>
  243. </attribute>
  244. <attribute>
  245. <name>varStatus</name>
  246. <required>false</required>
  247. <rtexprvalue>false</rtexprvalue>
  248. </attribute>
  249. </tag>
  250. <tag>
  251. <name>otherwise</name>
  252. <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
  253. <body-content>JSP</body-content>
  254. <description>
  255. Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
  256. and runs only if all of the prior conditions evaluated to
  257. 'false'
  258. </description>
  259. </tag>
  260. <tag>
  261. <name>param</name>
  262. <tag-class>org.apache.taglibs.standard.tag.el.core.ParamTag</tag-class>
  263. <body-content>JSP</body-content>
  264. <description>
  265. Adds a parameter to a containing 'import' tag's URL.
  266. </description>
  267. <attribute>
  268. <name>name</name>
  269. <required>true</required>
  270. <rtexprvalue>false</rtexprvalue>
  271. </attribute>
  272. <attribute>
  273. <name>value</name>
  274. <required>false</required>
  275. <rtexprvalue>false</rtexprvalue>
  276. </attribute>
  277. </tag>
  278. <tag>
  279. <name>redirect</name>
  280. <tag-class>org.apache.taglibs.standard.tag.el.core.RedirectTag</tag-class>
  281. <body-content>JSP</body-content>
  282. <description>
  283. Redirects to a new URL.
  284. </description>
  285. <attribute>
  286. <name>var</name>
  287. <required>false</required>
  288. <rtexprvalue>false</rtexprvalue>
  289. </attribute>
  290. <attribute>
  291. <name>scope</name>
  292. <required>false</required>
  293. <rtexprvalue>false</rtexprvalue>
  294. </attribute>
  295. <attribute>
  296. <name>url</name>
  297. <required>true</required>
  298. <rtexprvalue>false</rtexprvalue>
  299. </attribute>
  300. <attribute>
  301. <name>context</name>
  302. <required>false</required>
  303. <rtexprvalue>false</rtexprvalue>
  304. </attribute>
  305. </tag>
  306. <tag>
  307. <name>remove</name>
  308. <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
  309. <body-content>empty</body-content>
  310. <description>
  311. Removes a scoped variable (from a particular scope, if specified).
  312. </description>
  313. <attribute>
  314. <name>var</name>
  315. <required>true</required>
  316. <rtexprvalue>false</rtexprvalue>
  317. </attribute>
  318. <attribute>
  319. <name>scope</name>
  320. <required>false</required>
  321. <rtexprvalue>false</rtexprvalue>
  322. </attribute>
  323. </tag>
  324. <tag>
  325. <name>set</name>
  326. <tag-class>org.apache.taglibs.standard.tag.el.core.SetTag</tag-class>
  327. <body-content>JSP</body-content>
  328. <description>
  329. Sets the result of an expression evaluation in a 'scope'
  330. </description>
  331. <attribute>
  332. <name>var</name>
  333. <required>false</required>
  334. <rtexprvalue>false</rtexprvalue>
  335. </attribute>
  336. <attribute>
  337. <name>value</name>
  338. <required>false</required>
  339. <rtexprvalue>false</rtexprvalue>
  340. </attribute>
  341. <attribute>
  342. <name>target</name>
  343. <required>false</required>
  344. <rtexprvalue>false</rtexprvalue>
  345. </attribute>
  346. <attribute>
  347. <name>property</name>
  348. <required>false</required>
  349. <rtexprvalue>false</rtexprvalue>
  350. </attribute>
  351. <attribute>
  352. <name>scope</name>
  353. <required>false</required>
  354. <rtexprvalue>false</rtexprvalue>
  355. </attribute>
  356. </tag>
  357. <tag>
  358. <name>url</name>
  359. <tag-class>org.apache.taglibs.standard.tag.el.core.UrlTag</tag-class>
  360. <body-content>JSP</body-content>
  361. <description>
  362. Prints or exposes a URL with optional query parameters
  363. (via the c:param tag).
  364. </description>
  365. <attribute>
  366. <name>var</name>
  367. <required>false</required>
  368. <rtexprvalue>false</rtexprvalue>
  369. </attribute>
  370. <attribute>
  371. <name>scope</name>
  372. <required>false</required>
  373. <rtexprvalue>false</rtexprvalue>
  374. </attribute>
  375. <attribute>
  376. <name>value</name>
  377. <required>true</required>
  378. <rtexprvalue>false</rtexprvalue>
  379. </attribute>
  380. <attribute>
  381. <name>context</name>
  382. <required>false</required>
  383. <rtexprvalue>false</rtexprvalue>
  384. </attribute>
  385. </tag>
  386. <tag>
  387. <name>when</name>
  388. <tag-class>org.apache.taglibs.standard.tag.el.core.WhenTag</tag-class>
  389. <body-content>JSP</body-content>
  390. <description>
  391. Subtag of &lt;choose&gt; that includes its body if its
  392. condition evalutes to 'true'
  393. </description>
  394. <attribute>
  395. <name>test</name>
  396. <required>true</required>
  397. <rtexprvalue>false</rtexprvalue>
  398. </attribute>
  399. </tag>
  400. </taglib>