Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Daniel Gisbert
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic