org.apache.struts.taglib.bean
public class ResourceTag extends TagSupport
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| 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. |
| Method Summary | |
|---|---|
| int | doStartTag()
Retrieve the required property and expose it as a scripting variable.
|
| String | getId() |
| String | getInput() |
| String | getName() |
| void | release()
Release all allocated resources. |
| void | setId(String id) |
| void | setInput(String input) |
| void | setName(String name) |
Throws: JspException if a JSP exception has occurred