Jsp-jstl-xml-if-tag
提供:Dev Guides
JSTL-XML <x:if>タグ
属性
Attribute | Description | Required | Default |
---|---|---|---|
select | The XPath expression to be evaluated | Yes | None |
var | Name of the variable to store the condition’s result | No | None |
scope | Scope of the variable specified in the var attribute | No | Page |
例
以下は、 <x:if> タグの使用を示す例です-
上記のJSPにアクセスすると、次の結果が表示されます-