[스프링-1] Spring 의 기본 속성
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 @RequestMapping(value = "/", method = RequestMethod.GET) // value => 값은 index 페이지 method 는 form 양식처럼 post,get 여러가지사용가능 public String home(Locale locale, Model model) { logger.info("Welcome home! The client locale is {}.", locale); Date date = new Date(); DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, loc..