Thursday, June 4, 2009

JSTL Namespaces

Along the lines of "how many times has this happened to me", once again I stumbled into the JSTL 1.0 vs 1.1 namespace confusion. So I write it down for my own future reference and perhaps your benefit -->

For JSTL 1.1/1.2, use xmlns:c="http://java.sun.com/jsp/jstl/core".

If you use xmlns:c="http://java.sun.com/jstl/core", you'll be limited to the 1.0 tags. Among other things, this taglib lacks the forTokens tag...and I'm sure more things than that.

No comments:

Post a Comment