checkstyle fixes
invalid jsp syntax
refactor doAfterBody in different sub-methods to comply with
checkstyle.