0
我是trying來執行making gwt apps crawlable,但CrawlFilter沒有被執行。我究竟做錯了什麼?靜態內容不受過濾器限制嗎?過濾器沒有在靜態內容請求上執行
<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>
http://stackoverflow.com/questions/2430244/making-gwt-application-crawlable-by-a-search-engine/2432953 – 2011-01-26 03:08:07