further cleanup work in mvc

This commit is contained in:
eugenp 2014-07-20 00:52:26 +03:00
parent f94d6ccc2e
commit a32f967374
2 changed files with 8 additions and 2 deletions

View File

@ -39,6 +39,12 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.1.1.Final</version>
</dependency>
<!-- logging -->
<dependency>
@ -120,7 +126,7 @@
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class EmployeeController {
@ -30,4 +29,5 @@ public class EmployeeController {
model.addAttribute("id", employee.getId());
return "employeeAdded";
}
}