[jboss-user] [JBoss Tools] - Add JSF Capabilities in Eclipse says web.xml is malformed

Mikael Brodd do-not-reply at jboss.com
Thu Dec 16 09:41:54 EST 2010


Mikael Brodd [http://community.jboss.org/people/mikael.brodd] created the discussion

"Add JSF Capabilities in Eclipse says web.xml is malformed"

To view the discussion, visit: http://community.jboss.org/message/576422#576422

--------------------------------------------------------------
Hi,

Trying to add JSF capabilities as described in the FAQ in Eclipse. The wizard says that

+Web descriptor file is corrupted : Element type "dispatcher" must be declared+

This corresponds to the following in web.xml:

<filter> 
   <filter-name>richfaces</filter-name> 
   <display-name>RichFaces Filter</display-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>

What to do?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/576422#576422]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101216/7740f1ee/attachment-0001.html 


More information about the jboss-user mailing list