public class DriverTag extends TagSupport
Tag handler for <Driver> in JSTL, used to create a simple DataSource for prototyping.
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
DriverTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Default processing of the start tag, returning SKIP_BODY.
|
void |
setDriver(String driverClassName) |
void |
setJdbcURL(String jdbcURL) |
void |
setScope(String scopeName)
Setter method for the scope of the variable to hold the
result.
|
void |
setUserName(String userName) |
void |
setVar(String var) |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setDriver(String driverClassName)
public void setJdbcURL(String jdbcURL)
public void setScope(String scopeName)
public void setUserName(String userName)
public void setVar(String var)
public int doStartTag() throws JspException
TagSupport
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.