JSTL Not Working In JSF 2.0Posted by Roger Keays, 26 April 2011, 5:40 AM |
If you've just upgraded your webapp from JSF 1.2 + Facelets to JSF 2.0 and discovered that your JSTL tags don't seem to be working anymore it may be because the xmlns declaration is different in JSF 2.0. It should look like this:
xmlns:c="http://java.sun.com/jsp/jstl/core"
I think Facelets 1.x used a non-standard namespace below, possibly by mistake (although this namespace makes more sense as JSTL is independent from JSP).
xmlns:c="http://java.sun.com/jstl/core"
Same goes for the functions library I would guess.
| << StackOverflow Exception Upgrading to JSF 2.0 | Back to Blog | Cinerella Bug - Can't Insert Still Images >> |