bean
Tag resource
Load a web application resource and make it available as a bean.
Retrieve the value of the specified web application resource, and make it available as either a InputStream
or a String
, depending on the value of the input
attribute.
If a problem occurs while retrieving the specified resource, a request time exception will be thrown.
Tag Information |
Tag Class | org.apache.struts.taglib.bean.ResourceTag |
TagExtraInfo Class | org.apache.struts.taglib.bean.ResourceTei |
Body Content | empty |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
id | true | false | java.lang.String | Specifies the name of the scripting variable (and associated page scope attribute) that will be made available with the value of the specified web application resource. |
input | false | true | java.lang.String | If any arbitrary value for this attribute is specified, the resource will be made available as an InputStream . If this attribute is not specified, the resource will be made available as a String . |
name | true | true | java.lang.String | Module-relative name (starting with a '/') of the web application resource to be loaded and made available. |
Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.