1.0
1.2
sql
http://java.sun.com/jstl/sql
JSTL sql
JSTL 1.0 sql library
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:targetURL
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.
dataSource
false
false
isolation
false
false
query
org.apache.taglibs.standard.tag.el.sql.QueryTag
JSP
Executes the SQL query defined in its body or through the
sql attribute.
var
true
false
scope
false
false
sql
false
false
dataSource
false
false
startRow
false
false
maxRows
false
false
update
org.apache.taglibs.standard.tag.el.sql.UpdateTag
JSP
Executes the SQL update defined in its body or through the
sql attribute.
var
false
false
scope
false
false
sql
false
false
dataSource
false
false
param
org.apache.taglibs.standard.tag.el.sql.ParamTag
JSP
Sets a parameter in an SQL statement to the specified value.
value
false
false
dateParam
org.apache.taglibs.standard.tag.el.sql.DateParamTag
empty
Sets a parameter in an SQL statement to the specified java.util.Date val
ue.
value
true
true
type
false
true
setDataSource
org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag
empty
Creates a simple DataSource suitable only for prototyping.
var
false
false
scope
false
false
dataSource
false
false
driver
false
false
targetURL
false
false
user
false
false
password
false
false