|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
org.apache.struts.taglib.bean.CookieTag
Define a scripting variable based on the value(s) of the specified cookie received with this request.
Field Summary | |
protected java.lang.String |
id
The name of the scripting variable that will be exposed as a page scope attribute. |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
multiple
Return an array of Cookies if multiple is non-null. |
protected java.lang.String |
name
The name of the cookie whose value is to be exposed. |
protected java.lang.String |
value
The default value to return if no cookie of the specified name is found. |
Constructor Summary | |
CookieTag()
|
Method Summary | |
int |
doStartTag()
Retrieve the required property and expose it as a scripting variable. |
java.lang.String |
getId()
|
java.lang.String |
getMultiple()
|
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
void |
release()
Release all allocated resources. |
void |
setId(java.lang.String id)
|
void |
setMultiple(java.lang.String multiple)
|
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String id
protected static MessageResources messages
protected java.lang.String multiple
multiple
is non-null.
protected java.lang.String name
protected java.lang.String value
Constructor Detail |
public CookieTag()
Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getMultiple()
public void setMultiple(java.lang.String multiple)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public int doStartTag() throws JspException
JspException
- if a JSP exception has occurredpublic void release()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |