使GWT可抓取

Im having some problems with the GWT-AJAX crawlability. What Im currently doing is the following:

my website http://xyz.com has #! links like for example http://xyz.com/#!download/param So the google bot would read it and ask my server for

http://xyz.com/?_escaped_fragment_=download/param

So what I've done is I built a servlet that produces the html content and returns it in the response. However, i have no idea where to map my servlet, what I mean is because the url that the google bot tries to fetch is xyz.com/?_escaped_Fragment_=download/param I dont know how to map the servlet in my web.xml

You should rather use request filters than servlet mappings. Google even gives an example how to implement generic approach with HtmlUnit: http://code.google.com/web/ajaxcrawling/docs/html-snapshot.html - see last section.