sql-1_0-rt.tld
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:5k
源码类别:

Jsp/Servlet

开发平台:

Java

  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>sql_rt</short-name>
  9.   <uri>http://java.sun.com/jstl/sql_rt</uri>
  10.   <display-name>JSTL sql RT</display-name>
  11.   <description>JSTL 1.0 sql library</description>
  12.   <validator>
  13.     <validator-class>
  14.         org.apache.taglibs.standard.tlv.JstlSqlTLV
  15.     </validator-class>
  16.     <description>
  17.         Provides core validation features for JSTL tags.
  18.     </description>
  19.   </validator>
  20.   <tag>
  21.     <name>transaction</name>
  22.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.TransactionTag</tag-class>
  23.     <body-content>JSP</body-content>
  24.     <description>
  25.         Provides nested database action elements with a shared Connection,
  26.         set up to execute all statements as one transaction.
  27.     </description>
  28.     <attribute>
  29.         <name>dataSource</name>
  30.         <required>false</required>
  31.         <rtexprvalue>true</rtexprvalue>
  32.     </attribute>
  33.     <attribute>
  34.         <name>isolation</name>
  35.         <required>false</required>
  36.         <rtexprvalue>true</rtexprvalue>
  37.     </attribute>
  38.   </tag>
  39.   <tag>
  40.     <name>query</name>
  41.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.QueryTag</tag-class>
  42.     <body-content>JSP</body-content>
  43.     <description>
  44.         Executes the SQL query defined in its body or through the
  45.         sql attribute.
  46.     </description>
  47.     <attribute>
  48.         <name>var</name>
  49.         <required>true</required>
  50.         <rtexprvalue>false</rtexprvalue>
  51.     </attribute>
  52.     <attribute>
  53.         <name>scope</name>
  54.         <required>false</required>
  55.         <rtexprvalue>false</rtexprvalue>
  56.     </attribute>
  57.     <attribute>
  58.         <name>sql</name>
  59.         <required>false</required>
  60.         <rtexprvalue>true</rtexprvalue>
  61.     </attribute>
  62.     <attribute>
  63.         <name>dataSource</name>
  64.         <required>false</required>
  65.         <rtexprvalue>true</rtexprvalue>
  66.     </attribute>
  67.     <attribute>
  68.         <name>startRow</name>
  69.         <required>false</required>
  70.         <rtexprvalue>true</rtexprvalue>
  71.     </attribute>
  72.     <attribute>
  73.         <name>maxRows</name>
  74.         <required>false</required>
  75.         <rtexprvalue>true</rtexprvalue>
  76.     </attribute>
  77.   </tag>
  78.   <tag>
  79.     <name>update</name>
  80.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.UpdateTag</tag-class>
  81.     <body-content>JSP</body-content>
  82.     <description>
  83.         Executes the SQL update defined in its body or through the
  84.         sql attribute.
  85.     </description>
  86.     <attribute>
  87.         <name>var</name>
  88.         <required>false</required>
  89.         <rtexprvalue>false</rtexprvalue>
  90.     </attribute>
  91.     <attribute>
  92.         <name>scope</name>
  93.         <required>false</required>
  94.         <rtexprvalue>false</rtexprvalue>
  95.     </attribute>
  96.     <attribute>
  97.         <name>sql</name>
  98.         <required>false</required>
  99.         <rtexprvalue>true</rtexprvalue>
  100.     </attribute>
  101.     <attribute>
  102.         <name>dataSource</name>
  103.         <required>false</required>
  104.         <rtexprvalue>true</rtexprvalue>
  105.     </attribute>
  106.   </tag>
  107.   <tag>
  108.     <name>param</name>
  109.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.ParamTag</tag-class>
  110.     <body-content>JSP</body-content>
  111.     <description>
  112.         Sets a parameter in an SQL statement to the specified value.
  113.     </description>
  114.     <attribute>
  115.         <name>value</name>
  116.         <required>false</required>
  117.         <rtexprvalue>true</rtexprvalue>
  118.     </attribute>
  119.   </tag>
  120.   <tag>
  121.     <name>dateParam</name>
  122.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.DateParamTag</tag-class>
  123.     <body-content>empty</body-content>
  124.     <description>
  125.         Sets a parameter in an SQL statement to the specified java.util.Date value.
  126.     </description>
  127.     <attribute>
  128.         <name>value</name>
  129.         <required>true</required>
  130.         <rtexprvalue>true</rtexprvalue>
  131.     </attribute>
  132.     <attribute>
  133.         <name>type</name>
  134.         <required>false</required>
  135.         <rtexprvalue>true</rtexprvalue>
  136.     </attribute>
  137.   </tag>
  138.   <tag>
  139.     <name>setDataSource</name>
  140.     <tag-class>org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag</tag-class>
  141.     <body-content>empty</body-content>
  142.     <description>
  143.         Creates a simple DataSource suitable only for prototyping.
  144.     </description>
  145.     <attribute>
  146.         <name>var</name>
  147.         <required>false</required>
  148.         <rtexprvalue>false</rtexprvalue>
  149.     </attribute>
  150.     <attribute>
  151.         <name>scope</name>
  152.         <required>false</required>
  153.         <rtexprvalue>false</rtexprvalue>
  154.     </attribute>
  155.     <attribute>
  156.         <name>dataSource</name>
  157.         <required>false</required>
  158.         <rtexprvalue>true</rtexprvalue>
  159.     </attribute>
  160.     <attribute>
  161.         <name>driver</name>
  162.         <required>false</required>
  163.         <rtexprvalue>true</rtexprvalue>
  164.     </attribute>
  165.     <attribute>
  166.         <name>url</name>
  167.         <required>false</required>
  168.         <rtexprvalue>true</rtexprvalue>
  169.     </attribute>
  170.     <attribute>
  171.         <name>user</name>
  172.         <required>false</required>
  173.         <rtexprvalue>true</rtexprvalue>
  174.     </attribute>
  175.     <attribute>
  176.         <name>password</name>
  177.         <required>false</required>
  178.         <rtexprvalue>true</rtexprvalue>
  179.     </attribute>
  180.   </tag>
  181. </taglib>