public class SetDataSourceTagSupport
extends javax.servlet.jsp.tagext.TagSupport
Tag handler for <SetDataSource> in JSTL, used to create a simple DataSource for prototyping.
Modifier and Type | Field and Description |
---|---|
protected Object |
dataSource |
protected boolean |
dataSourceSpecified |
protected String |
driverClassName |
protected String |
jdbcURL |
protected String |
password |
protected String |
userName |
Constructor and Description |
---|
SetDataSourceTagSupport() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
void |
release() |
void |
setScope(String scope)
Setter method for the scope of the variable to hold the
result.
|
void |
setVar(String var) |
protected Object dataSource
protected boolean dataSourceSpecified
protected String jdbcURL
protected String driverClassName
protected String userName
protected String password
public void setScope(String scope)
public void setVar(String var)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.