Yes, i suppose that will work, but there is also a web.xml file for the entire installation that is in the same place as the server.xml
Is it possible to add a filter in these files ? Abid -----Original Message----- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 8. juli 2003 12:03 To: Tomcat Users List Subject: RE: A question about filters Abid, You are right, but if you set up the same filter in the web.xml for every webapp, you'll get the same effect. Andy > -----Original Message----- > From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] > Sent: 08 July 2003 10:30 > To: Tomcat Users List > Subject: A question about filters > > > Hi > > After a lot of experimenting and hassle i've come to the > conclusion that i have misundeerstood how filters work. > > I thought i could make a filter for the entire website, and all > requests to that website would go through a specified filter. > This is not possible, as far as i know?? You can only make > filters connected to some webapp, and all requests to that webapp > will go through the filter. > > What i mean is, if you have a site called : > http://www.somesite.com/ > > You can't set up a filter for all request with this url-pattern. > > You can set up a filter to : > http://www.somesite.com/mywebapp/ > > Or any other context that you specify after the website address. > > Anyone here know a way for me to set up a filter for all requests > to a webiste ? > > Regards, > Abid > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
