h:outputScript not defined in library h
问题 I enetered this code <h:outputScript name="jsf.js" library="javax.faces" target="head"/> But my IDE says that <h:outputScript> tag is not defined in library h which I declared as below. <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> What's going on? 回答1: The JSF 2.0 <h:head> , <h:body> , <h:outputScript> , <h:outputStylesheet> , <f:ajax> and all <ui:xxx> tags are not available when you use the ancient JSP as view technology. You should instead be using its successor Facelets, which