org.apache.taglibs.standard.tag.el.sql
Class SetDataSourceTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.standard.tag.common.sql.SetDataSourceTagSupport
org.apache.taglibs.standard.tag.el.sql.SetDataSourceTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class SetDataSourceTag
- extends SetDataSourceTagSupport
Tag handler for <SetDataSource> in JSTL, used to create
a simple DataSource for prototyping.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetDataSourceTag
public SetDataSourceTag()
setDataSource
public void setDataSource(String dataSourceEL)
setDriver
public void setDriver(String driverClassNameEL)
setUrl
public void setUrl(String jdbcURLEL)
setUser
public void setUser(String userNameEL)
setPassword
public void setPassword(String passwordEL)
doStartTag
public int doStartTag()
throws JspException
- Description copied from class:
TagSupport
- Default processing of the start tag, returning SKIP_BODY.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class SetDataSourceTagSupport
- Returns:
- SKIP_BODY
- Throws:
JspException
- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.