Boa noite Pessoal, comecei a estudar JSF e minha primeira dificuldade foi a seguinte... Sem IDE, criando os diretorios na mão usando tomcat 6 , adicionei as seguintes bibliotecas na pasta lib: jstl, Standard, jsf-api e jsf-impl , criei o arquivo web.xml:
<?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>jsf01</display-name>
<welcome-file-list>
<welcome-file>faces/index.xhtml</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
</web-app>
e uma página de teste inicial index.xhtml:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>Welcome</title>
</h:head>
<h:body>
<h2>Hello World JSF!</h2>
<h:outputText value="teste!!!" />
</h:body>
</html>
Tudo em HTMl é exibido normal, apenas as tags jsf (com h:) não aparecem...alguma ideia do que pode estar acontecendo?
agradeço desde já! abs