Can I write a module/filter that gets fired before the web app get's run in Tomcat?
        Posted  
        
            by Blankman
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Blankman
        
        
        
        Published on 2010-04-15T14:06:22Z
        Indexed on 
            2010/04/15
            19:53 UTC
        
        
        Read the original article
        Hit count: 252
        
Can I write a module/filter that gets put into the processing pipleline in Tomcat BEFORE the web application even gets run?
Something that I could turn on/off for each web application that tomcat is handling.
is this possible?
So basically it would be a re-usable filter that hooks into the web pipeline that could alter the requests behavior or perform/modify the requests. One example would be to log all ip's, or redirect based on the url, block the request, etc.
© Stack Overflow or respective owner