RE: servlet filter not working over virtual directories in tomcat

2015-10-25 Thread Pradyut Bhattacharya
the requests going to "/TestApp/web" application. Regards, Praddy From: André Warnier (tomcat) Sent: Saturday, October 24, 2015 3:26 PM To: users@tomcat.apache.org Subject: Re: servlet filter not working over virtual directories in tomcat On 24.10.2015 05:11, Pradyut Bhattacharya wrote: >

Re: servlet filter not working over virtual directories in tomcat

2015-10-24 Thread tomcat
On 24.10.2015 05:11, Pradyut Bhattacharya wrote: The URL pattern therefore needs to be "/*" Could not do anything with the above statement. May be an example could suffice. Then maybe try this : Instead of : dir_filter /web/* try : dir_filter /* Explanation :

RE: servlet filter not working over virtual directories in tomcat

2015-10-23 Thread Pradyut Bhattacharya
#web.xml file in the Catalina/localhost folder. This works fine with filters. Regards, Pradyut > Subject: Re: servlet filter not working over virtual directories in tomcat > To: users@tomcat.apache.org > From: ma...@apache.org > Date: Fri, 2

Re: servlet filter not working over virtual directories in tomcat

2015-10-23 Thread Mark Thomas
On 23/10/2015 03:39, Pradyut Bhattacharya wrote: > Hi, > I had configured virtual directories in glassfish3.x over which I could > write filters. > For an example I could access files at c:/web from > http://localhost/TestApp/web over which I could also place a filter at my web > app's web/xml