In the “search” XHTML portion of my project, the “h” tags arent being recognized. I really have no clue why they aren’t working. Any insight? Here’s a link to the xhtml file hosted on google code so the entire project can be viewed.
https://code.google.com/p/xdsgui/source/browse/trunk/Frontend/WebContent/search.xhtml
Thanks.
They are supposed to be parsed by the
FacesServlet. If they appear unparsed in the retrieved HTML output, then it simply means that theFacesServletisn’t been invoked at all.Your project’s
web.xmlshows that it’s been mapped on an URL pattern of*.jsf. So if you change the.xhtmlextension in the request URL of the page in the browser’s address bar to.jsf, then it’ll work.Better is however to just map the
FacesServleton an URL pattern of*.xhtmldirectly. This way you never need to fiddle with virtual URLs and the endusers will also never be able to see the raw JSF source code when they purposefully changes the.jsfextension to.xhtmlin the request URL.