Pessoal,…preciso de um help urgente…olha só…estou com o seguinte problema.
Publiquei uma página jsp com jsf. Utilizo o tomcat 5.5.30 e quando tento acessar minha página dá o seguinte erro:
type Status report
message /admin/login.jsf
description The requested resource (/admin/login.jsf) is not available.
Minha dúvida é a seguinte…li em alguns lugares que não funciona no tomcat 5.5.30…é verdade? devo instalar o 6. Me ajudem por favor, estou desesperado.
luxu
Abril 5, 2011, 4:38am
#2
axo q o tomcat naum está achando a página, por enquanto num tem nd a ver com o servidor…post seu arquivo web.xml, ou tente login.faces, login.xhtml, etc…
A página que eu tenho é login.jsp.
Segue meu arquivo XML.
<?xml version="1.0" encoding="UTF-8"?>
com.sun.faces.verifyObjects
false
com.sun.faces.validateXml
true
javax.faces.STATE_SAVING_METHOD
client
Faces Servlet
javax.faces.webapp.FacesServlet
1
diretorio_arquivo
C:/programacao/java/strategy/analysesbi/build/web/arquivos/
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>AutenticarEmpresa</servlet-name>
<servlet-class>br.com.wesleybez.analysesbi.integracao.AutenticarEmpresa</servlet-class>
</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>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AutenticarEmpresa</servlet-name>
<url-pattern>/AutenticarEmpresa</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>forwardToJSF.jsp</welcome-file>
</welcome-file-list>
<taglib>
http://java.sun.com/jstl/core_rt
/WEB-INF/lib/jstl.tld
http://java.sun.com/jstl/core_rt
/WEB-INF/lib/standard.tld