• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.


 
Where does a nanny get ground to air missles? Protect this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic