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 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.

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)

Field Details

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 Details

doStartTag

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

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-2007 - The Apache Software Foundation