Olá,
estou tentando montar primeira pagina jsf 2.0 mais aparece a seguinte mensagem,
chamando a url abaixo :
http://localhost:8080/ProjetoJSF2/index.xhtml
Transferencia de arquivos
Pretende guardar este arquivoou localizar um programa online para abrir ?
Nome : index.xhtml
Tipo:tipo de arquivo desconhecido
de : localhost
localizar guardar cancelar
_______________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC ?-//W3C//DTD XHTML 1.0 Transitional//EN?
?http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd?>
<html xmlns=?http://www.w3.org/1999/xhtml?
xmlns:h=?http://java.sun.com/jsf/html?>
<h:head><title>JSF 2.0</title></h:head>
<h:body>
<h:form id=?form1″>
<h:outputText value=?Primeiro exemplo com JSF 2.0″ />
</h:form>
</h:body>
</html>
_____________
<?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>ProjetoJSF2</display-name>
<welcome-file-list>
<welcome-file>index.xhtml</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>
<servlet>
<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>/faces/*</url-pattern>
</servlet-mapping>
<context-param>
<description>State saving method: client or server (=default). See JSF Specification 2.5.2</description>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>resources.application</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
</web-app>