Servlet Faces SErvlet is not available [message #196301] |
Thu, 12 July 2007 13:51  |
Eclipse User |
|
|
|
Originally posted by: Ben.Sisson.ccci.org
In the tutorial "WTP Tutorials - JavaServer Faces Tools Tutorial", when I
run the login.jsp I get the following message: "Servlet Faces Servlet is
not available". Description: The reuqested resource (Servlet Faces
SErvlet is not avaialable) is not available. I'm not sure what I'm
missing in the tutorial and any help would be appreciated.
Thanks,
Ben
|
|
|
|
Re: Servlet Faces SErvlet is not available [message #196368 is a reply to message #196344] |
Thu, 12 July 2007 14:15  |
Eclipse User |
|
|
|
Originally posted by: Ben.Sisson.ccci.org
The issue was in the properties section of the project. I can't explain
why it wasn't selected but under properties->J2EE Module Dependencies the
SUN-RI libary was not selected. It was visisble but not selected. Also,
under properties->Java Build Path->Order and Export the same libary,
SUN-RI, was present but not selected. I selected both of these and that
eliminated the meessabe.
However, now I receive a new message when I start the project: "The
requested resource(/JSFTutorial/login.faces) is not available. Having
looked around it appears that it seeks this path using the web.xml
<url-pattern>*.faces</url-pattern> parameter. This was pulled fromt the
tutorial as is but I also tried the default patter supplied when creating
the project <url-pattern>/faces/*</url-pattern> and I get the same message
with just an added directory layer. Any help on this would be greatly
apprecaited.
|
|
|
Powered by
FUDForum. Page generated in 0.01700 seconds