Olá amigos estou iniciando o estudo para web e de inicio tô tendo uma dificuldade de exibir uma pagina com o texto “alô mundo” alguem teria uma dica de onde posso estar errando?
o servidor tomcat tá instalado e configurado.
Meu arquivo web.xml
<?xml version="1.0" encoding="ASCII"?>
<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"
version="3.0">
<display-name>FinanceiroWeb</display-name>
<servlet>
<display-name>Faces Servlet</display-name>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</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-list>
</web-app>
meu arquivo alomundo.xhtml
<?xml version="1.0" encoding="UTF-8" ?>
<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>
Mensagem de erro:
HTTP Status 404 - Servlet Faces Servlet is not available
type Status report
message Servlet Faces Servlet is not available
description The requested resource (Servlet Faces Servlet is not available) is not available.
Apache Tomcat/7.0.6
já fiz e refiz os passos mais não vejo onde estar o erro!