If you develop your application with Tapestry framework it is better do not use Servlet Filters to manage request cycle. More preferable to override setupForRequest() and cleanupAfterRequest() of Engine class.