Expresso 5-6

com.jcorporate.expresso.ext.taglib
Class ExSessionTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.struts.taglib.bean.DefineTag
              extended bycom.jcorporate.expresso.ext.taglib.ExSessionTag
All Implemented Interfaces:
BodyTag, IterationTag, Serializable, Tag

public class ExSessionTag
extends org.apache.struts.taglib.bean.DefineTag

Define a scripting variable based on the value(s) of the specified bean property.

Author:
Shash Chatterjee
See Also:
Serialized Form

Field Summary
protected  String db
           
protected  String dbToUse
           
 
Fields inherited from class org.apache.struts.taglib.bean.DefineTag
body, id, messages, name, property, scope, toScope, type, value
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ExSessionTag()
           
 
Method Summary
 int doEndTag()
          Retrieve the required property and expose it as a scripting variable.
 int doStartTag()
          Retrieve the required property and expose it as a scripting variable.
 String getDb()
           
 void setDb(String newDb)
           
 
Methods inherited from class org.apache.struts.taglib.bean.DefineTag
doAfterBody, getId, getName, getProperty, getScope, getToScope, getType, getValue, release, setId, setName, setProperty, setScope, setToScope, setType, setValue
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

db

protected String db

dbToUse

protected String dbToUse
Constructor Detail

ExSessionTag

public ExSessionTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Retrieve the required property and expose it as a scripting variable.

Returns:
int as defined by the JSP taglib spec
Throws:
JspException - if a JSP exception has occurred

getDb

public String getDb()

setDb

public void setDb(String newDb)

doEndTag

public int doEndTag()
             throws JspException
Retrieve the required property and expose it as a scripting variable.

Throws:
JspException - if a JSP exception has occurred

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.