org.apache.struts.taglib.bean
Class ResourceTag
TagSupport
org.apache.struts.taglib.bean.ResourceTag
public class ResourceTag
extends TagSupport
Define a scripting variable based on the contents of the specified
web application resource.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $protected static int | BUFFER_SIZE - Buffer size to use when reading the input stream.
|
protected String | id - The name of the scripting variable that will be exposed as a page
scope attribute.
|
protected String | input - Return an InputStream to the specified resource if this is non-null.
|
protected static MessageResources | messages - The message resources for this package.
|
protected String | name - The module-relative URI of the resource whose contents are to
be exposed.
|
BUFFER_SIZE
protected static final int BUFFER_SIZE
Buffer size to use when reading the input stream.
id
protected String id
The name of the scripting variable that will be exposed as a page
scope attribute.
input
protected String input
Return an InputStream to the specified resource if this is non-null.
messages
protected static MessageResources messages
The message resources for this package.
name
protected String name
The module-relative URI of the resource whose contents are to
be exposed.
doStartTag
public int doStartTag()
throws JspException
Retrieve the required property and expose it as a scripting variable.
getId
public String getId()
getInput
public String getInput()
getName
public String getName()
release
public void release()
Release all allocated resources.
setId
public void setId(String id)
setInput
public void setInput(String input)
setName
public void setName(String name)
Copyright B) 2000-2007 - The Apache Software Foundation