この要素のJSP 1.2のバージョンの詳細は、次のURLの『JavaServerPages (JSP) 1.2 Syntax Reference』をオンラインで参照してください。http://java.sun.com/products/jsp/tags/tags.html
JSPページで使用されるスクリプト言語で有効なメソッドまたは変数を宣言する際に、JSP 2.0コア・タグ<%! declaration %>
または <jsp:declaration>
を使用します。メソッドまたは変数は、JSPページで使用する前に宣言する必要があります。
<%! declaration; [declaration;]%>
または
<jsp:declaration>
code fragment [declaration;]
</jsp:declaration>
<jsp:declaration>
code fragment [declaration;]
</jsp:declaration>
タグの詳細は、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, 2006, Oracle. All rights reserved.