JSTL error: unexpected attribute `end' in <x:forEach>
I am having troubles. It seems the only supporte开发者_开发知识库d attributes for <x:forEach>
are var
, select
and jsfc
. However I am seeing other people using tags such as begin
, end
, and step
. For me these tags only work on the <c:forEach>
iterator.
I'd like to get it working on <x:forEach>
so I can avoid an ugly workaround.
Thanks.
The JSTL <x:forEach>
tag documentation tells otherwise.
Perhaps you still have old JSTL 1.0 libraries or even a prototype around in the classpath. Or you've an older standard.jar
file around in combination with a newer jstl.jar
file. In any way, search for standard.jar
and jstl.jar
files and replace them by a single JAR file jstl-1.2.jar
.
精彩评论