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

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</short-name>
  9.   <uri>http://java.sun.com/jstl/sql</uri>
  10.   <display-name>JSTL sql</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.     <init-param>
  17.         <param-name>expressionAttributes</param-name>
  18.         <param-value>
  19.         transaction:dataSource
  20.         transaction:isolation
  21.         query:sql
  22.         query:dataSource
  23.         query:startRow
  24.         query:maxRows
  25.         update:sql
  26.         update:dataSource
  27.         param:value
  28.         dateParam:value
  29.         dateParam:type
  30.         setDataSource:dataSource
  31.         setDataSource:driver
  32.         setDataSource:url
  33.         setDataSource:user
  34.         setDataSource:password
  35.         </param-value>
  36.         <description>
  37.             Whitespace-separated list of colon-separated token pairs
  38.             describing tag:attribute combinations that accept expressions.
  39.             The validator uses this information to determine which
  40.             attributes need their syntax validated.
  41.         </description>
  42.      </init-param>
  43.   </validator>
  44.   <tag>
  45.     <name>transaction</name>
  46.     <tag-class>org.apache.taglibs.standard.tag.el.sql.TransactionTag</tag-class>
  47.     <body-content>JSP</body-content>
  48.     <description>
  49.         Provides nested database action elements with a shared Connection,
  50.         set up to execute all statements as one transaction.
  51.     </description>
  52.     <attribute>
  53.         <name>dataSource</name>
  54.         <required>false</required>
  55.         <rtexprvalue>false</rtexprvalue>
  56.     </attribute>
  57.     <attribute>
  58.         <name>isolation</name>
  59.         <required>false</required>
  60.         <rtexprvalue>false</rtexprvalue>
  61.     </attribute>
  62.   </tag>
  63.   <tag>
  64.     <name>query</name>
  65.     <tag-class>org.apache.taglibs.standard.tag.el.sql.QueryTag</tag-class>
  66.     <body-content>JSP</body-content>
  67.     <description>
  68.         Executes the SQL query defined in its body or through the
  69.         sql attribute.
  70.     </description>
  71.     <attribute>
  72.         <name>var</name>
  73.         <required>true</required>
  74.         <rtexprvalue>false</rtexprvalue>
  75.     </attribute>
  76.     <attribute>
  77.         <name>scope</name>
  78.         <required>false</required>
  79.         <rtexprvalue>false</rtexprvalue>
  80.     </attribute>
  81.     <attribute>
  82.         <name>sql</name>
  83.         <required>false</required>
  84.         <rtexprvalue>false</rtexprvalue>
  85.     </attribute>
  86.     <attribute>
  87.         <name>dataSource</name>
  88.         <required>false</required>
  89.         <rtexprvalue>false</rtexprvalue>
  90.     </attribute>
  91.     <attribute>
  92.         <name>startRow</name>
  93.         <required>false</required>
  94.         <rtexprvalue>false</rtexprvalue>
  95.     </attribute>
  96.     <attribute>
  97.         <name>maxRows</name>
  98.         <required>false</required>
  99.         <rtexprvalue>false</rtexprvalue>
  100.     </attribute>
  101.   </tag>
  102.   <tag>
  103.     <name>update</name>
  104.     <tag-class>org.apache.taglibs.standard.tag.el.sql.UpdateTag</tag-class>
  105.     <body-content>JSP</body-content>
  106.     <description>
  107.         Executes the SQL update defined in its body or through the
  108.         sql attribute.
  109.     </description>
  110.     <attribute>
  111.         <name>var</name>
  112.         <required>false</required>
  113.         <rtexprvalue>false</rtexprvalue>
  114.     </attribute>
  115.     <attribute>
  116.         <name>scope</name>
  117.         <required>false</required>
  118.         <rtexprvalue>false</rtexprvalue>
  119.     </attribute>
  120.     <attribute>
  121.         <name>sql</name>
  122.         <required>false</required>
  123.         <rtexprvalue>false</rtexprvalue>
  124.     </attribute>
  125.     <attribute>
  126.         <name>dataSource</name>
  127.         <required>false</required>
  128.         <rtexprvalue>false</rtexprvalue>
  129.     </attribute>
  130.   </tag>
  131.   <tag>
  132.     <name>param</name>
  133.     <tag-class>org.apache.taglibs.standard.tag.el.sql.ParamTag</tag-class>
  134.     <body-content>JSP</body-content>
  135.     <description>
  136.         Sets a parameter in an SQL statement to the specified value.
  137.     </description>
  138.     <attribute>
  139.         <name>value</name>
  140.         <required>false</required>
  141.         <rtexprvalue>false</rtexprvalue>
  142.     </attribute>
  143.   </tag>
  144.   <tag>
  145.     <name>dateParam</name>
  146.     <tag-class>org.apache.taglibs.standard.tag.el.sql.DateParamTag</tag-class>
  147.     <body-content>empty</body-content>
  148.     <description>
  149.         Sets a parameter in an SQL statement to the specified java.util.Date val
  150. ue.
  151.     </description>
  152.     <attribute>
  153.         <name>value</name>
  154.         <required>true</required>
  155.         <rtexprvalue>true</rtexprvalue>
  156.     </attribute>
  157.     <attribute>
  158.         <name>type</name>
  159.         <required>false</required>
  160.         <rtexprvalue>true</rtexprvalue>
  161.     </attribute>
  162.   </tag>
  163.   <tag>
  164.     <name>setDataSource</name>
  165.     <tag-class>org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag</tag-class>
  166.     <body-content>empty</body-content>
  167.     <description>
  168.         Creates a simple DataSource suitable only for prototyping.
  169.     </description>
  170.     <attribute>
  171.         <name>var</name>
  172.         <required>false</required>
  173.         <rtexprvalue>false</rtexprvalue>
  174.     </attribute>
  175.     <attribute>
  176.         <name>scope</name>
  177.         <required>false</required>
  178.         <rtexprvalue>false</rtexprvalue>
  179.     </attribute>
  180.     <attribute>
  181.         <name>dataSource</name>
  182.         <required>false</required>
  183.         <rtexprvalue>false</rtexprvalue>
  184.     </attribute>
  185.     <attribute>
  186.         <name>driver</name>
  187.         <required>false</required>
  188.         <rtexprvalue>false</rtexprvalue>
  189.     </attribute>
  190.     <attribute>
  191.         <name>url</name>
  192.         <required>false</required>
  193.         <rtexprvalue>false</rtexprvalue>
  194.     </attribute>
  195.     <attribute>
  196.         <name>user</name>
  197.         <required>false</required>
  198.         <rtexprvalue>false</rtexprvalue>
  199.     </attribute>
  200.     <attribute>
  201.         <name>password</name>
  202.         <required>false</required>
  203.         <rtexprvalue>false</rtexprvalue>
  204.     </attribute>
  205.   </tag>
  206. </taglib>