remove jsp view resolver
remove html content-type and extract constant for redirect