JSTL sql


Standard Syntax:
     <%@ taglib prefix="sql10" uri="http://java.sun.com/jstl/sql" %>

XML Syntax:
     <anyxmlelement xmlns:sql10="http://java.sun.com/jstl/sql" />

JSTL 1.0 sql library

Tag Library Information
Display NameJSTL sql
Version1.0
Short Namesql10
URIhttp://java.sun.com/jstl/sql
 

Tag Summary
transactionProvides nested database action elements with a shared Connection, set up to execute all statements as one transaction.
queryExecutes the SQL query defined in its body or through the sql attribute.
updateExecutes the SQL update defined in its body or through the sql attribute.
paramSets a parameter in an SQL statement to the specified value.
dateParamSets a parameter in an SQL statement to the specified java.util.Date val ue.
setDataSourceCreates a simple DataSource suitable only for prototyping.
 

Tag Library Validator
org.apache.taglibs.standard.tlv.JstlSqlTLVNo Description
Initialization Parameters:
NameValueDescription
expressionAttributestransaction: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:passwordNo Description
 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.