further cleanup work in mvc
This commit is contained in:
parent
f94d6ccc2e
commit
a32f967374
|
@ -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>
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue