public class SetDataSourceTagSupport
extends jakarta.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 jakarta.servlet.jsp.JspException
doStartTag in interface jakarta.servlet.jsp.tagext.TagdoStartTag in class jakarta.servlet.jsp.tagext.TagSupportjakarta.servlet.jsp.JspExceptionpublic void release()
release in interface jakarta.servlet.jsp.tagext.Tagrelease in class jakarta.servlet.jsp.tagext.TagSupportCopyright © 2019,2020 Eclipse Foundation. All rights reserved.