Not sure if this problem is old or not but i can’t locate the namespaces
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
for example this namespace
xmlns="http://www.w3.org/1999/xhtml"
is available for me
thanks
You need to make sure that the JSF JAR file(s) are in the webapp’s classpath. They namely contain the necessary
.taglib.xmlfile(s).How to do that depends on your development environment and the targeted server which you didn’t tell anything about in your question.
If you’re using for example Eclipse and Tomcat, then you’d need to manually download the JSF JAR file(s) from the vendor’s site and drop them in
/WEB-INF/lib. Eclipse will then do the necessary magic. Or, if you’re using a server which already ships with JSF bundled, such as Glassfish, JBoss AS, etc, then you’d need to integrate it in Servers view of Eclipse and then set it as Targeted Runtime of your Eclipse project in the project’s properties. Eclipse will then do the necessary magic.