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
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringName of the exported scoped variable for the data source specified. Type can be String or DataSource.
scopefalsefalsejava.lang.StringIf var is specified, scope of the exported variable. Otherwise, scope of the data source configuration variable.
dataSourcefalsetruejava.lang.StringData 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.
driverfalsetruejava.lang.StringJDBC parameter: driver class name.
urlfalsetruejava.lang.StringJDBC parameter: URL associated with the database.
userfalsetruejava.lang.StringJDBC parameter: database user on whose behalf the connection to the database is being made.
passwordfalsetruejava.lang.StringJDBC parameter: user password

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.