Olá,
estou usando eclipse Helios Build id: 20100917-0705 , JSF 2.3 , tomcat 6 com windows 7 em 64 bits.
Como criei meu projeto web via Eclipse :
File - new - Dynamic Web Project -
coloquei o nome do projeto :
em configuration deixei como Java Server faces v1.2 Project
em JSF Capabilities type : Disable Library Configuration
URL mapping patterns: *.jsf
No diretório lib do projeto copiei via Eclipse os jars :
jsf-api.jar
jsf-impl.jar
jstl-1.2.jar
jstl-impl-1.2.jar
commons-beanutils-1.8.3.jar
commons-collections-3.2.1.jar
commons-digester-2.1.jar
commons-logging-1.1.1.jar
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>FinanceiroWeb</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<display-name>FacesServlet</display-name>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
</web-app>
Não sei o que está acontecendo pois estou tentando fazer um exemplo simples de JSF 2 mais não emite nada n atela do navegador deveria aparecer
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title> teste inicial JSF ...</title>
</h:head>
<h:body>
<h:outputText value="Olá Mundo"/>
</h:body>
</html>