JavaのプログラムでforEachタグを使うと以下のようなエラーが出たのですが、どうしたら良いでしょうか?
According to TLD or attribute directive in tag file, attribute items does not accept any expressions
コードは以下の通りです。
lang
1<c:forEach items="${reviewList}" var="reviewListId"> 2<tr> 3<td colspan="6" class="we_have"><c:out value="${reviewListId}" /> 4</td> 5</tr> 6
taglib宣言は以下の通りです。
lang
1<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
taglibのところを見ても、どこにもエラーが出てきません。
taglibは大丈夫なのに、どうしてforEachタグがサポートされていないんでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。