0 Replies Latest reply on Oct 4, 2011 8:00 AM by Raluca Jucan

    Seam Project with Richfaces and Tomahawk not working

    Raluca Jucan Newbie

      So I have just generated an empty Seam Project. Everything worked fine. I've tried to integrate the last Tomahawk library 1.1.11 and after configuring the extension filters I get the following error:

      Redirect Error

      Error 310 (net::ERR_TOO_MANY_REDIRECTS)

       

      what am I doing wrong?

       

      Here are the filters that I integrated at the end of my web.xml

       

      <filter>

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

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

          <init-param>

              <param-name>uploadMaxFileSize</param-name>

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

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