Caros amigos,
Estou testando um projeto com JSF e está funcionando perfeitamente. Porém quando vou utilizar Tomahawk não consigo rodar nenhuma página.
Uso:
Tomcat v.6
JSF v1.2
Uma página simples roda direito. Mas quando jogo na pasta WEB-INF/lib o jar Tomahawk12-1.1.9, nenhuma página que antes funcionava, funciona mais… e me retorna Erro 404 ( request resource not available) … alguem sabe?
ps: Já importei o JAR do tomahawk pelo ecplise pra dentro do meu projeto e não rolou
fddo
Maio 4, 2010, 11:44am
#3
adrianoseven:
Ninguem?
vc configurou corretamente o web.xml, para que rode o tomahawk ? seu server é Websphere ?
Meu server é Tomcat v.6
Meu web.xml não tem nada referente a Tomahawk configurado. Ele está assim:
<?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>tutorial</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</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>
</web-app>
ozix
Maio 4, 2010, 1:18pm
#5
[quote=ozix]try this…
http://myfaces.apache.org/tomahawk/extensionsFilter.html[/quote]
Adicionei essas propriedades no web.xml, e agora me dá erro 404: The requested resource () is not available.