This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Facelet example not working in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Facelet example not working in Eclipse" Watch "Facelet example not working in Eclipse" New topic
Author

Facelet example not working in Eclipse

paul nisset
Ranch Hand

Joined: May 13, 2009
Posts: 165
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

Joined: May 13, 2009
Posts: 165
Resolved. The url pattern was not correct in the browser .
Duh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facelet example not working in Eclipse
 
Similar Threads
Invalid Warning of "com.sun.faces.config.ConfigureListener"
Erro HTTP Status 500- What is this?
XML not displayed,Unspecified error Error processing resource 'http://www.w3.org/TR/html4/loose.dtd'
Error while accessing hibernate session through JSF
In Rich Faces rich:panelMenu a4j:commandButton action not called