public class StrutsTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
protected String |
formBean
The name of the
ActionFormBean object to be exposed. |
protected String |
forward
The name of the
ActionForward object to be exposed. |
protected String |
id
The name of the scripting variable that will be exposed as a page scope
attribute.
|
protected String |
mapping
The name of the
ActionMapping object to be exposed. |
protected static MessageResources |
messages
The message resources for this package.
|
Constructor and Description |
---|
StrutsTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Retrieve the required configuration object and expose it as a scripting
variable.
|
String |
getFormBean() |
String |
getForward() |
String |
getId() |
String |
getMapping() |
void |
release()
Release all allocated resources.
|
void |
setFormBean(String formBean) |
void |
setForward(String forward) |
void |
setId(String id) |
void |
setMapping(String mapping) |
protected static MessageResources messages
protected String id
protected String formBean
ActionFormBean
object to be exposed.protected String forward
ActionForward
object to be exposed.protected String mapping
ActionMapping
object to be exposed.public String getId()
getId
in class javax.servlet.jsp.tagext.TagSupport
public void setId(String id)
setId
in class javax.servlet.jsp.tagext.TagSupport
public String getFormBean()
public void setFormBean(String formBean)
public String getForward()
public void setForward(String forward)
public String getMapping()
public void setMapping(String mapping)
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.