I decided to move to *.jsf mapping for FacesServlet and as a result I can't anyway resolve this error:
I have everywhere in my webapp .jsf ending instead of .xhtml. My files have extension .xhtml but I access them using .jsf.
I have searched the Internet and I can't find solution for me to work!
My mapping is :
I can't really tell, but I suspect that you either have a configuration problem in PrettyFaces or your PrettyFaces URLs are malformed.
When I run into stuff like this, I usually end up having to set debugger breakpoints and look at the URLs running through the filters. Which, 2 days later leads me to discover I misplaced a comma or something.
Customer surveys are for companies who didn't pay proper attention to begin with.
This error went away after I removed the following context-param from web.xml:
Unfirtunately instead I have new problem. Browser does not render styled page but only XML tree of jsf elements like in source xhtml file.
Google chrome prints above XML tree:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
I found that it can be caused that page is not intercepted by FacesServlet but it is impossible as I call /forums.jsf when FacesServlet is mapped to:
It is not the problem with charset too. Because I try with both UTF-8 and ISO-8859-1. They both fail.
Does anybody know why XML tree is rendered instead of styled web page?