Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Facelet example not working in Eclipse

 
paul nisset
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to get an example Facelet project to work in in Eclipse using a Tomcat 7 server.

I keep getting a dialogue from the browser asking if I want to download login.xhtml .


jsf-impl.jar
and
jsf-api.jar are currently in WEB-INF/lib .
I've tried moving them to different places(eclipse build path,tomcat lib directory) but to no effect.

The configuration files are below.

Thanks ,
Paul

login.xhtml



faces-config.xml



web.xml

 
paul nisset
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Resolved. The url pattern was not correct in the browser .
Duh.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic