JSTL sql
Tag setDataSource


Creates a simple DataSource suitable only for prototyping.


Tag Information
Tag Classorg.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
var
Name of the exported scoped variable for the data source specified. Type can be String or DataSource.
 
Required: false
Request-time: false
Type: java.lang.String
scope
If var is specified, scope of the exported variable. Otherwise, scope of the data source configuration variable.
 
Required: false
Request-time: false
Type: java.lang.String
dataSource
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.
 
Required: false
Request-time: true
Type: java.lang.String
driver
JDBC parameter: driver class name.
 
Required: false
Request-time: true
Type: java.lang.String
url
JDBC parameter: URL associated with the database.
 
Required: false
Request-time: true
Type: java.lang.String
user
JDBC parameter: database user on whose behalf the connection to the database is being made.
 
Required: false
Request-time: true
Type: java.lang.String
password
JDBC parameter: user password
 
Required: false
Request-time: true
Type: java.lang.String

Variables
No Variables Defined.


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