What file do I update that setting in, and will that affect the .jsp
files I have?
On 08/26/2012 12:54 PM, Romain Manni-Bucau wrote:
Xhtml is not the default extension,
Maybe redefine it
Le 26 août 2012 19:53, "David Nordahl" <da...@thinkology.org> a écrit :
I'm not getting JSF tags rendered to HTML/XHTML. I'm using the SNAPSHOT. I
notice the errors "INFO: faces config file is null" even though I have the
file faces-config.xml in my WEB-INF folder from the root folder of my war
file. The file contains:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.1"
xmlns="http://java.sun.com/**xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
"
xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
"
xsi:schemaLocation="http://**java.sun.com/xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_1.xsd<http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd>
**">
<application>
<resource-bundle>
<base-name>/Bundle</base-name>
<var>bundle</var>
</resource-bundle>
</application>
</faces-config>
But then later on it seems to load it as viewable in the attached log
file, but then just after that it repeats the above errors again.
Then I have the errors: "WARNING: No mappings of FacesServlet found.
Abort destroy MyFaces."
But present in my web.xml file is:
<context-param>
<param-name>javax.faces.**PROJECT_STAGE</param-name>
<param-value>Development</**param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.**webapp.FacesServlet</servlet-**class>
<load-on-startup>1</load-on-**startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-**pattern>
</servlet-mapping>
Attached the log output.