title: Servlet filter URL pattern - how to match all servlets that a particular servlet dispatches the request too
body: <p>I currently have a servlet that acts as the central point for all incoming AJAX requests. Let's call this servlet <em>AJAXHandler</em>. </p>
  
  <p>AJAX requests can be bundled together into one big request and then the AJAXHandler servlet seperates each request and calls 'RequestDispatcher.include' for each. It then bundles up the response for each servlet into one large response and sends it back to the client.</p>
  
  <p>I also have a filter which I use for caching servlet response XML. I want to know how to specify a servlet filter URL-pattern that applies to any servlet that receives a request via the AJAXDispatcher servlet. Is this possible? </p>
  
  <p>I am not able to use a pattern of '/*' as this will match servlets that are not called via the AJAXDispatcher servlet.</p>
  
  <p>EDIT - The filter is used for caching the response. I need to cache the responses of the individual servlets that the AJAXHandler forwards to, <strong>NOT</strong> the bundled response that is eventually returned by the AJAXHandler itself.</p>