1 Reply Latest reply on Nov 3, 2009 1:50 PM by jonathan2009

    Is it possible to change the extension of the

    jonathan2009

      Whenever I include an a4j tag in a facelet, I get the following script referenced in the head of my HTML document:

      <script src="/myapplication/a4j/g/3_3_0.GAorg.ajax4jsf.javascript.AjaxScript.foo" type="text/javascript"></script>



      I have determined that the "foo" extension is the result of the following entry in my web.xml:

      <filter>
       <filter-name>Seam Filter</filter-name>
       <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>Seam Filter</filter-name>
       <url-pattern>*.foo</url-pattern>
       <dispatcher>FORWARD</dispatcher>
       </filter-mapping>


      The reason I need to do this is that I am working in a homegrown framework that does some undesirable processing via servlet filters when a resource named *.foo is requested.
      Therefore, I want the request for this javascript file to bypass these servlet filters.

      Thanks,
      Jonathan