Class DriverTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.apache.taglibs.standard.tag.common.sql.DriverTag
- All Implemented Interfaces:
IterationTag,JspTag,Tag,Serializable
Tag handler for <Driver> in JSTL, used to create a simple DataSource for prototyping.
- Author:
- Hans Bergsten
- See Also:
-
Field Summary
Fields 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.voidvoidsetJdbcURL(String jdbcURL) voidSetter method for the scope of the variable to hold the result.voidsetUserName(String userName) voidMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
DriverTag
public DriverTag()
-
-
Method Details
-
setDriver
-
setJdbcURL
-
setScope
Setter method for the scope of the variable to hold the result. -
setUserName
-
setVar
-
doStartTag
Description copied from class:TagSupportDefault processing of the start tag, returning SKIP_BODY.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classTagSupport- Returns:
- SKIP_BODY
- Throws:
JspException- if an error occurs while processing this tag- See Also:
-