• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic