I'm trying to include a chunk of static html in all of my pages. I tried the code below and it didn't work. I've also tried a few other ways and can't get it to work. I was reading about somehow using ui tags, but I couldn't get that to work either. What do I need to do to include a page with JSF.
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <h:head> ... </h:head> <h:body> <jsp:include src="/common/includes/founcred1.html" /> ... </h:body>
<%@ @>. As far as the templating engine, how would I check that? I have to modify an existing project and i'm new to JSF.