Pessoal , comprei o livro programação java para web da novatec e estou tentando seguir o livro, porem tenho bastante dúvida quando passamos para o JSF.
como pedido do livro baixei os arquivos JAR'S commons-beanutils-1.8.3 , commons-collections-3.2.1 , commons-digester3-3.2, commons-logging-1.1.1, jsf-api, jsf-impl, jstl-impl-1.2 , jstl-api-1.2 copiei e colei dentro de web inf/lib e apareceram no web app libraries. Não sei se isso tem muito haver com o problema, porem foi um dos poucos procedimentos feitos até o momento do livro.
criei um arquivo olamundo.xhtml e quando tento acessar localhost:8080/olamundo.jsf da erro 404, e nao consigo avançar nos captulos. Segue abaixo as configurações que eu fiz.
estou usando o apache tomcat 7
a configuração do web.xml ficou :
<?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_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>Capitulo2</display-name>
<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>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
e do olamundo.xhtml
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http;//www.w3.org/1999/xhtml"
xmlns:h="http://javasun.sun.com/jsf/html"
xmlns:f="http://javasun.com/jsf/core">
<h:head>
<title>TESTE INICIAL JSF</title>
</h:head>
<h:body>
<h:outputText value="Olá Mundo">
</h:body>
</html>
Alguem sabe como me ajudar ???