Caros, sou novo utilizando JSF e seguindo um tutorial simples de login na internet tudo sem erros dá seguinte erro quando executo arquivo:
HTTP Status 404 - /JSFProjetct/login.faces
type Status report
message /JSFProjetct/login.faces
description The requested resource (/JSFProjetct/login.faces) is not available.
qual seria o motivo?
Se você puder, poste a página e o seu web.xml
Caro obrigado pela ajuda
arquivo
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
Login de Usuários Usando JSF
Por favor informe seu nome e senha:
web.xml
<?xml version="1.0" encoding="UTF-8"?>
JSFProjetct
<welcome-file>index.html</welcome-file>
Faces Servlet
javax.faces.webapp.FacesServlet
1
Faces Servlet
/*.faces
javax.servlet.jsp.jstl.fmt.localizationContext
resources.application
State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2
javax.faces.STATE_SAVING_METHOD
client
This parameter tells MyFaces if javascript code should be allowed in
the rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default is 'true'
org.apache.myfaces.ALLOW_JAVASCRIPT
true
If true, rendered HTML code will be formatted, so that it is 'human-readable'
i.e. additional line separators and whitespace will be written, that do not
influence the HTML code.
Default is 'true'
org.apache.myfaces.PRETTY_HTML
true
org.apache.myfaces.DETECT_JAVASCRIPT
false
If true, a javascript function will be rendered that is able to restore the
former vertical scroll on every request. Convenient feature if you have pages
with long lists and you do not want the browser page to always jump to the top
if you trigger a link or button action that stays on the same page.
Default is 'false'
org.apache.myfaces.AUTO_SCROLL
true
org.apache.myfaces.webapp.StartupServletContextListener