Class SetDataSourceTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.apache.taglibs.standard.tag.common.sql.SetDataSourceTagSupport
org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag
- All Implemented Interfaces:
IterationTag,JspTag,Tag,Serializable
Tag handler for <SetDataSource> in JSTL, used to create a simple DataSource for prototyping.
- See Also:
-
Field Summary
Fields inherited from class org.apache.taglibs.standard.tag.common.sql.SetDataSourceTagSupport
dataSource, dataSourceSpecified, driverClassName, jdbcURL, password, userNameFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDefault processing of the start tag, returning SKIP_BODY.voidsetDataSource(String dataSourceEL) voidvoidsetPassword(String passwordEL) voidvoidMethods inherited from class org.apache.taglibs.standard.tag.common.sql.SetDataSourceTagSupport
release, setScope, setVarMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
SetDataSourceTag
public SetDataSourceTag()
-
-
Method Details
-
setDataSource
-
setDriver
-
setUrl
-
setUser
-
setPassword
-
doStartTag
Description copied from class:TagSupportDefault processing of the start tag, returning SKIP_BODY.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classSetDataSourceTagSupport- Returns:
- SKIP_BODY
- Throws:
JspException- if an error occurs while processing this tag- See Also:
-