1 Reply Latest reply on Mar 1, 2006 5:53 PM by Simon Lee

    Filter on Static Content

    Simon Lee Newbie

      I'm having trouble with filtering static content (jpg, css, js, etc...)

      I'm currently using Jboss 4.0.3.

      In my web app, I have a filter set up to catch all requests (url pattern: *).

      I expected all requests (even static content) to go through the filter but that does not seem to be happening. I only got requests for servlets and jsp. I could not catch any static content going through the filter.

      I adjusted the logging level on the defaultServlet and found that the defaultServlet was serving up all the static content.

      Is there something in tomcat that serves up static content b4 it reaches the application level???

      Any help / direction would be greatly appreciated.