implemented redirect filters for tomcat