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.

[307 byte] By [frank1russoa] at [2007-10-3 0:09:47]
# 1
Are the JSP/JSF files put in /WebContent/faces ?
BalusCa at 2007-7-14 16:59:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
These are facelets pages, not jsp. I'm not sure if that matters though. What is the purposed of the WebContext directory? Is that documented somewhere?
frank1russoa at 2007-7-14 16:59:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

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.

frank1russoa at 2007-7-14 16:59:01 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...