sql-1_0.tld
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:6k
源码类别:
Jsp/Servlet
开发平台:
Java
- <?xml version="1.0" encoding="ISO-8859-1" ?>
- <!DOCTYPE taglib
- PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
- "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
- <taglib>
- <tlib-version>1.0</tlib-version>
- <jsp-version>1.2</jsp-version>
- <short-name>sql</short-name>
- <uri>http://java.sun.com/jstl/sql</uri>
- <display-name>JSTL sql</display-name>
- <description>JSTL 1.0 sql library</description>
- <validator>
- <validator-class>
- org.apache.taglibs.standard.tlv.JstlSqlTLV
- </validator-class>
- <init-param>
- <param-name>expressionAttributes</param-name>
- <param-value>
- transaction:dataSource
- transaction:isolation
- query:sql
- query:dataSource
- query:startRow
- query:maxRows
- update:sql
- update:dataSource
- param:value
- dateParam:value
- dateParam:type
- setDataSource:dataSource
- setDataSource:driver
- setDataSource:url
- setDataSource:user
- setDataSource:password
- </param-value>
- <description>
- Whitespace-separated list of colon-separated token pairs
- describing tag:attribute combinations that accept expressions.
- The validator uses this information to determine which
- attributes need their syntax validated.
- </description>
- </init-param>
- </validator>
- <tag>
- <name>transaction</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.TransactionTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Provides nested database action elements with a shared Connection,
- set up to execute all statements as one transaction.
- </description>
- <attribute>
- <name>dataSource</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>isolation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>query</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.QueryTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Executes the SQL query defined in its body or through the
- sql attribute.
- </description>
- <attribute>
- <name>var</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>sql</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>dataSource</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>startRow</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>maxRows</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>update</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.UpdateTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Executes the SQL update defined in its body or through the
- sql attribute.
- </description>
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>sql</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>dataSource</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>param</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.ParamTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Sets a parameter in an SQL statement to the specified value.
- </description>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>dateParam</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.DateParamTag</tag-class>
- <body-content>empty</body-content>
- <description>
- Sets a parameter in an SQL statement to the specified java.util.Date val
- ue.
- </description>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>type</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>setDataSource</name>
- <tag-class>org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag</tag-class>
- <body-content>empty</body-content>
- <description>
- Creates a simple DataSource suitable only for prototyping.
- </description>
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>dataSource</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>driver</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>user</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>password</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- </taglib>