|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.bean.StrutsTag
public class StrutsTag
Define a scripting variable that exposes the requested Struts internal configuraton object.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
pageContext |
| 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 | |
|---|---|
StrutsTag()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, 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 |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
public StrutsTag()
| Method Detail |
|---|
public String getId()
getId in class TagSupportpublic void setId(String id)
setId in class TagSupportpublic 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 JspException
doStartTag in interface TagdoStartTag in class TagSupportJspException - if a JSP exception has occurredpublic void release()
release in interface Tagrelease in class TagSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||