aspose file tools*
The moose likes JSF and the fly likes Primefaces setup causing problems JSF 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces setup causing problems JSF 2.0" Watch "Primefaces setup causing problems JSF 2.0" New topic
Author

Primefaces setup causing problems JSF 2.0

Nitesh Panchal
Ranch Hand

Joined: Dec 23, 2008
Posts: 48
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
 
 
subject: Primefaces setup causing problems JSF 2.0