JSF mapping missing. ExtensionsFilter not correctly configured.

I am new to JSF's and using JBoss 4.2.0 application server.

I trying to use <t:panelTabbedPane> and <t:panelTab> in my page like this:

<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>

<t:panelTabbedPane id= "tbParticipant" selectedIndex = "0">

<t:panelTab id = "ptFirstName" label = "First Name"></t:panelTab>

<t:panelTab id = "ptLastName" label = "Last Name"></t:panelTab>

</t:panelTabbedPane>

When I open my page i get this error

ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.

Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html

I have my web.xml configured exactlly as described at http://myfaces.apache.org/tomahawk/extensionsFilter.html

Actually I copied and paste the whole text word by word as shown below but still getting that error.

<filter>

<filter-name>MyFacesExtensionsFilter</filter-name>

<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>

<init-param>

<param-name>maxFileSize</param-name>

<param-value>20m</param-value>

<description>Set the size limit for uploaded files.

Format: 10 - 10 bytes

10k - 10 KB

10m - 10 MB

1g - 1 GB

</description>

</init-param>

</filter>

<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->

<servlet-name>Faces Servlet</servlet-name>

</filter-mapping>

<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>

</filter-mapping>

Alternate mapping using a url-pattern instead of a servlet-name (you still need the /faces/myFacesExtensionResource/* mapping as well):

<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->

<filter-mapping>

<filter-name>MyFacesExtensionsFilter</filter-name>

<url-pattern>*.jsf</url-pattern>

</filter-mapping>

Please help and thank you in advance.

[2551 byte] By [learningjava5a] at [2007-11-27 10:35:18]
# 1

Please post the configuration of the FacesServlet in the web.xml.

RaymondDeCampoa at 2007-7-28 18:34:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...