Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primefaces setup causing problems JSF 2.0

 
Nitesh Panchal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am very much new to JSF. But somehow i configured web.xml and now all components work but as soon as i added PrimeFaces framework, the page stopped working.

This is my web.xml



This is my page



And here is my index.xhtml



The code compiles nicely.

When i type
http://localhost:8080/FaceletMasterPage/faces/ContentPage.xhtml
in the address bar it works correctly.

But when i type-
http://localhost:8080/FaceletMasterPage/primefaces_resource/ContentPage.xhtml

It throws resource not found 404.
What can be wrong?

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic