Configure filters and servlets dynamically.