org.apache.struts.taglib.bean

Class StrutsTag

public class StrutsTag extends TagSupport

Define a scripting variable that exposes the requested Struts internal configuraton object.

Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary
protected StringformBean
The name of the ActionFormBean object to be exposed.
protected Stringforward
The name of the ActionForward object to be exposed.
protected Stringid
The name of the scripting variable that will be exposed as a page scope attribute.
protected Stringmapping
The name of the ActionMapping object to be exposed.
protected static MessageResourcesmessages
The message resources for this package.
Method Summary
intdoStartTag()
Retrieve the required configuration object and expose it as a scripting variable.
StringgetFormBean()
StringgetForward()
StringgetId()
StringgetMapping()
voidrelease()
Release all allocated resources.
voidsetFormBean(String formBean)
voidsetForward(String forward)
voidsetId(String id)
voidsetMapping(String mapping)

Field Detail

formBean

protected String formBean
The name of the ActionFormBean object to be exposed.

forward

protected String forward
The name of the ActionForward object to be exposed.

id

protected String id
The name of the scripting variable that will be exposed as a page scope attribute.

mapping

protected String mapping
The name of the ActionMapping object to be exposed.

messages

protected static MessageResources messages
The message resources for this package.

Method Detail

doStartTag

public int doStartTag()
Retrieve the required configuration object and expose it as a scripting variable.

Throws: JspException if a JSP exception has occurred

getFormBean

public String getFormBean()

getForward

public String getForward()

getId

public String getId()

getMapping

public String getMapping()

release

public void release()
Release all allocated resources.

setFormBean

public void setFormBean(String formBean)

setForward

public void setForward(String forward)

setId

public void setId(String id)

setMapping

public void setMapping(String mapping)
Copyright B) 2000-2009 - The Apache Software Foundation