JUnit
-
06. ReturnType, Junit [Spring]Spring 2016. 11. 4. 15:12
01. Return Type 01-1. Contoller@RequestMapping("/hr/ajax/employees")public void getAllEmployees(HttpServletResponse response) {List allEmployees = indexService.getAllEmployees(); StringBuffer employeesInfo = new StringBuffer(); for (EmployeesVO employeesVO : allEmployees) { employeesInfo.append(employeesVO.getLastName() + " "); } //response.setContentType("text/plain"); //대부분 이렇게 쓰지만 현재는 로 인해 아래..