I’m sorry to have to say this, but…
Has anyone other than newbies (myself included) looked at this issue ?
After trying and failing – twice – to reproduce the JSFLoginDemo in my own environment, I downloaded the project (JSFLoginDemoProject.zip), unzipped it in my workspace and imported as existing project. That worked.
What doesn’t work is the JSFLoginDemo application, once I tried to deploy it under JBoss or Tomcat.
Sure enough, the message is “Cannot find FacesContext” !
Now, I know it can be forced to work in various ways and I know I should know a lot more about the JSP framework before looking at JSF. However, the tutorial not working “out-of the box” is not a good sign.
(… the incident does make me feel less ignorant:-)
It would be … positive if someone could tell me/us what is wrong with the above mentioned procedure…
Thank you,
Daniel
——————
P.S.1. The environment is Eclipse 3.0.1 / MyEclipse 3.8.3
P.S.2. The same thing happened when I tryied the “Hello” micro-application from “JavaServerFaces in Action”