This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am a JSF newbie. I have been trying to get JSF to work with Eclipse and Apache. The way I attempted to do that is quite simple, I tried to follow the tutorial in http://www.laliluna.de/first-java-server-faces-tutorial.html. Although the interface that he used was quite different from mine, I always managed to find an equivalent. And it all worked pretty well until the code contained this line:
And the code wouldn't compile. Eclipse would say:
The import javax.faces cannot be resolved
The way I added JSF is by File->New Project->Web->Dynamic Web Project, Entered a project name, Pressed Next, I ticked Java Server Faces. Do you know why Eclipse is doing so? Thanks in advance.