Interceptor.java public class Interceptors extends HandlerInterceptorAdapter { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { //메소드는 컨트롤러가 호출되기 전에 실행된다. Locale locale = extractLocale(request, "ko" ); LocaleResolver localeResolver = RequestContextUtils.getLocaleResolver(request); localeResolver.setLocale(request, response, locale); return true ; } private Locale extractLocale(HttpServletRequest request,String local) { if (StringUtils.hasText(local)) { return StringUtils.parseLocaleString(local); } return request.getLocale(); } } web-interceptor.xml <? xml version = "1.0" encoding = "UTF-8" ?> < beans xmlns = "http://www.springframework.org/schema/beans" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:context = "ht...