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

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

No Variables Defined.

Output Generated by TLDDoc. 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.