Can someone explain the difference between a servlet filter and tomcat valve. What is the advantage of using one over the other?