Index: lams_monitoring/web/WEB-INF/jstl/sql.tld =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/WEB-INF/jstl/Attic/sql.tld,v diff -u -r1.1 -r1.2 --- lams_monitoring/web/WEB-INF/jstl/sql.tld 15 Apr 2005 04:38:10 -0000 1.1 +++ lams_monitoring/web/WEB-INF/jstl/sql.tld 19 Apr 2005 05:46:57 -0000 1.2 @@ -1,289 +1,213 @@ - - - - - JSTL 1.1 sql library - JSTL sql - 1.1 + + + + 1.0 + 1.2 sql - http://java.sun.com/jsp/jstl/sql + http://java.sun.com/jstl/sql + JSTL sql + JSTL 1.0 sql library - - Provides core validation features for JSTL tags. - - org.apache.taglibs.standard.tlv.JstlSqlTLV + org.apache.taglibs.standard.tlv.JstlSqlTLV + + expressionAttributes + + 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 + + + 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. + + + transaction + org.apache.taglibs.standard.tag.el.sql.TransactionTag + JSP Provides nested database action elements with a shared Connection, set up to execute all statements as one transaction. - transaction - org.apache.taglibs.standard.tag.rt.sql.TransactionTag - JSP - -DataSource associated with the database to access. A -String value represents a relative path to a JNDI -resource or the parameters for the JDBC -DriverManager facility. - dataSource false - true + false - -Transaction isolation level. If not specified, it is the -isolation level the DataSource has been configured -with. - isolation false - true + false + query + org.apache.taglibs.standard.tag.el.sql.QueryTag + JSP Executes the SQL query defined in its body or through the sql attribute. - query - org.apache.taglibs.standard.tag.rt.sql.QueryTag - JSP - -Name of the exported scoped variable for the -query result. The type of the scoped variable is -javax.servlet.jsp.jstl.sql. -Result (see Chapter 16 "Java APIs"). - var true false - -Scope of var. - scope false false - -SQL query statement. - sql false - true + false - -Data source associated with the database to -query. A String value represents a relative path -to a JNDI resource or the parameters for the -DriverManager class. - dataSource false - true + false - -The returned Result object includes the rows -starting at the specified index. The first row of -the original query result set is at index 0. If not -specified, rows are included starting from the -first row at index 0. - startRow false - true + false - -The maximum number of rows to be included in -the query result. If not specified, or set to -1, no -limit on the maximum number of rows is -enforced. - maxRows false - true + false + update + org.apache.taglibs.standard.tag.el.sql.UpdateTag + JSP Executes the SQL update defined in its body or through the sql attribute. - update - org.apache.taglibs.standard.tag.rt.sql.UpdateTag - JSP - -Name of the exported scoped variable for the result -of the database update. The type of the scoped -variable is java.lang.Integer. - var false false - -Scope of var. - scope false false - -SQL update statement. - sql false - true + false - -Data source associated with the database to update. -A String value represents a relative path to a JNDI -resource or the parameters for the JDBC -DriverManager class. - dataSource false - true + false + param + org.apache.taglibs.standard.tag.el.sql.ParamTag + JSP Sets a parameter in an SQL statement to the specified value. - param - org.apache.taglibs.standard.tag.rt.sql.ParamTag - JSP - -Parameter value. - value false - true + false - - Sets a parameter in an SQL statement to the specified java.util.Date value. - dateParam - org.apache.taglibs.standard.tag.rt.sql.DateParamTag + org.apache.taglibs.standard.tag.el.sql.DateParamTag empty + + Sets a parameter in an SQL statement to the specified java.util.Date val +ue. + - -Parameter value for DATE, TIME, or -TIMESTAMP column in a database table. - value true true - -One of "date", "time" or "timestamp". - type false true + setDataSource + org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag + empty Creates a simple DataSource suitable only for prototyping. - setDataSource - org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag - empty - -Name of the exported scoped variable -for the data source specified. Type can -be String or DataSource. - var false false - -If var is specified, scope of the -exported variable. Otherwise, scope of -the data source configuration variable. - scope false false - -Data source. If specified as a string, it -can either be a relative path to a JNDI -resource, or a JDBC parameters string -as defined in Section 10.1.1. - dataSource false - true + false - -JDBC parameter: driver class name. - driver false - true + false - -JDBC parameter: URL associated with -the database. - url false - true + false - -JDBC parameter: database user on -whose behalf the connection to the -database is being made. - user false - true + false - -JDBC parameter: user password - password false - true + false