| 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.
|
 |
 |
|
|
subject: Starting a JSF 2.0 project with PrimeFaces 2.2. M1 and Glassfish 3.0
|
|
|