开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜