What's the difference between <h:head> and <head> in Java Facelets?
问题 See this. When and why to use <h:head> , instead of <head> ? I've seen Primefaces won't work with <head> , though. 回答1: The <head> tag is a HTML tag, which defines the head of the HTML page (this is where you define metadata, or include the resources such as JavaScript or CSS for example). The <h:head> is a JSF tag (introduced with JSF 2.0) that handles the <head> part of your page. The interest of having such JSF tag is that this head becomes part of your JSF components tree, and thus, you