Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF 2 sample project guessNumber  RSS feed

 
reubin haz
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm learning JSF2 and downloaded Project Mojarra.

I downloaded the JSF 2 jar files and some sample projects from https://javaserverfaces.dev.java.net/servlets/ProjectDocumentList?folderID=11965&expandFolder=11965&folderID=0

I assume guessNumber project is a common used sample project. I did some search online and found some postings talking about some fix if you encounter compilation failure. But I have no problem to compile it using mvn. But when I deployed the war file to my tomcat 6 server and try to open the page at http://localhost:8080/guessNumber/greeting.xhtml it displays #{userNumberBean.greeting}, and no image and form are displayed. Even though I can see the source code of the form are there, but I don't understand why the form becomes invisible....

Can someone tell me where I went wrong? How can I see the correct page to be displayed?
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!