JSF 1.2
I've tried setting setting the servlet-mapping for the faces servlet to /faces/*, but it doesn't work. It works fine if I use *.jsf.
Does anyone know of a bug in the 1.2 ri from java.net? I'm using it with Facelets, but I don't think it's that, because it can't seem to find the servlet.
I see what you mean. WebContent is just a general name. I use maven for building, which uses webapp as a standard.
As far as having pages in a faces directory, that should be the case. I'm using /faces/* for the servlet mapping in my web.xml. Any requested url with that pattern should map the request to the faces servlet. Whatever page replaces the * would then be located in the root of the webapp directory by the faces servlet.
My app doesn't seem to be getting that far. The /faces request doesn't seem to be getting to the faces servlet, as there are no initialization lines being dumped to my log file, but when I use *.jsf, it does.