Re: Filter versus Valve

2009-02-12 Thread Jake Vang
12, 2009 at 3:05 AM, Kees de Kooter wrote: > Could you post the code of your valve and your filter? > > Please also not that a Valve is a tomcat specific thing i.e. not > portable to other app servers. A Filter is part of the servlet spec > and portable. > > > On Thu, Feb 1

Filter versus Valve

2009-02-11 Thread Jake Vang
I've been looking for a way to modify my request header. I found that implementing javax.servlet.Filter is the way to go. However, I noticed that once after I got my Filter implementation working, my Valve is no longer reached (I created my own Valve subclassing org.apache.catalina.valves.ValveBase