org.apache.struts.taglib.bean
public class CookieTag extends TagSupport
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected 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 String | multiple
Return an array of Cookies if multiple is non-null. |
protected String | name
The name of the cookie whose value is to be exposed. |
protected String | value
The default value to return if no cookie of the specified name is found. |
Method Summary | |
---|---|
int | doStartTag()
Retrieve the required property and expose it as a scripting variable.
|
String | getId() |
String | getMultiple() |
String | getName() |
String | getValue() |
void | release()
Release all allocated resources. |
void | setId(String id) |
void | setMultiple(String multiple) |
void | setName(String name) |
void | setValue(String value) |
multiple
is non-null.Throws: JspException if a JSP exception has occurred