converted to use Spring MVC form instead of HTML form