0

I'm trying to implement making gwt apps crawlable, but the CrawlFilter isn't being executed, ever. What am I doing wrong? Is static content not subject to filters?

<web-app>
  <!-- Crawling servlet filter -->
  <filter>
    <filter-name>AjaxCrawlFilter</filter-name>
    <filter-class>com.bitdual.server.CrawlServlet</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>AjaxCrawlFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>

</web-app>
antony.trupe
  • 10,640
  • 10
  • 57
  • 84

1 Answers1

3

Static content is served from an entirely different infrastructure (like a CDN) so I wouldn't be surprised if filters are not executed on content hosted statically.

Jason Hall
  • 20,632
  • 4
  • 50
  • 57