This content has been marked as final.
Show 2 replies
-
1. Re: Tomcat Shows xhtml Source Code in JPA Example
vlay Apr 18, 2010 7:17 PM (in response to vlay)I managed to fix this by taking a look at the wiki example.
The following lines should be added to web.xml:<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.seam</url-pattern> </servlet-mapping> <security-constraint> <display-name>Restrict raw XHTML Documents</display-name> <web-resource-collection> <web-resource-name>XHTML</web-resource-name> <url-pattern>*.xhtml</url-pattern> </web-resource-collection> <auth-constraint> <role-name>NONE</role-name> </auth-constraint> </security-constraint>
Regards,
Antonio -
2. Re: Tomcat Shows xhtml Source Code in JPA Example
amitev Apr 19, 2010 8:33 AM (in response to vlay)Raise an issue in JIRA.