[Resolvido] Configurando Web.xml RichFaces 4

4 respostas
viudes

Olá pessoal

estou tentando configurar o RichFaces mas não esta reconhecendo, coloco o codigos mas em vez dele interpreta o codigo ele não interpreta?

Os jar já estão na minha ClassPath

Meu Web.xml

<?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"
	version="3.0">
	<display-name>Acril</display-name>
	<!-- Configuração do RichFaces -->

	<context-param>
		<param-name>org.richfaces.SKIN</param-name>
		<param-value>blueSky</param-value>
	</context-param>

	<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>

	<listener>
		<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
	</listener>

	<!-- Faces Servlet -->

	<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>

	<!-- Faces Servlet Mapping -->

	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.jsf</url-pattern>
	</servlet-mapping>
	<login-config>
		<auth-method>BASIC</auth-method>
	</login-config>
</web-app>

Alguem ai sabe qual é o problema que estou tento? onde posso achar a configuração correta?

4 Respostas

jv.nicocelli

Boa Tarde,

Você conseguiu resolver esse problema?

viudes

Consegui

J0rg3Ma1a

Colega, só faltou você explicar como resolveu, afinal de contas é para isso que servem os foruns, para compartilhar conhecimento.

tenclar

viudes:
Consegui

E ai , como resolveu ?

Criado 29 de setembro de 2011
Ultima resposta 7 de jul. de 2012
Respostas 4
Participantes 4