pom.xml依存関係を追加JSTL
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
JSPページ内のコアタグライブラリの導入
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
書かれた文
<c:if test="<boolean>" var="<string>" scope="<string>">
...
</c:if>
プロパティ 説明 必要に応じて デフォルト値 テスト 条件 それはあります ノー ました 結果を格納するための条件変数 ノー ノー 範囲 スコープのvar属性 ノー ページ
例
<c:if test="${message!=null}" >
${message}
</c:if>