aspose file tools*
The moose likes JSF and the fly likes Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0" Watch "Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0" New topic
Author

Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0

Daniel Gisbert
Greenhorn

Joined: Jun 01, 2010
Posts: 3
Hi.

I am trying to create a very simple project with JSF 2.0 to begin to work with it, using PrimeFaces 2.2 M1 and Glassfish 3.0.

I am looking over Internet but i can't find a clear answer so i post his here. What is the simplest configuration i can have in my project to show something like this?




I am still a newbie to JSF so perhaps i am missing something very simple.

I tried putting Mojarra 2.0.3 libraries and PrimeFaces 2.2 M1 in WEB-INF/lib folder (this is: jsf-api.jar, jsf-impl.jar and primefaces-2.2.M1.jar).

web.xml is


faces-config.xml doesn't have anything special. Is:




Thank you very much to who could answer me.
Daniel Gisbert
Greenhorn

Joined: Jun 01, 2010
Posts: 3
Well ... I will answer myself .....

I was investigating just a little more and finally I found I was having a wrong web.xml config file. Finally I left that file like this, and it worked. I imagine the key entries are the servlet and servlet mapping entries.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0
 
Similar Threads
Don't work any jfs scripts
No nothing works
Refactor Managed Bean
Primefaces setup causing problems JSF 2.0
Error with JBoss and JSF(My Page does not work)