separated controller and view within jsp file