JSP 2.0ディレクティブの<%@ attribute %>
または<jsp:directive.attribute>
のタグを使用して、タグ・ファイルに定義されたカスタム・アクションの属性を宣言します。タグ・ファイルのみで使用されます。
<%@ attribute name="attribute-name"
[ required="true | false" ]
[ fragment="true | false" ]
[ rtexprvalue="true | false" ]
[ type="java.lang.String | a non-primitive type"]
[ description="text" ]
/%>
または、
<jsp:directive.attribute attributeDirectiveAttrList />
ここでのattributeDirectiveAttrList
はJSP構文のリストと同じです。
<jsp:directive.attribute attributeDirectiveAttrList />
ここでのattributeDirectiveAttrList
はJSP構文のリストと同じです。
name
required
false
です。 fragment
true
)、タグ・ハンドラに渡される前にコンテナによって評価される標準の属性か(false
)を指定します。デフォルトはfalse
です。 rtexprvalue
true
です。 type
description
タグの詳細は、Sun社の『JavaServer Pages Developer's Guide』を参照してください。
『JavaServerPages (JSP) 2.0 Syntax Reference』は、次のURLでオンラインで参照できます。
http://java.sun.com/products/jsp/syntax/2.0/syntaxref20.html
Copyright © 1997, 2009, Oracle. All rights reserved.