매개변수 타입이 HttpServletRequest 선언하면 request객체에서 year를 직접 꺼낸다.사용자가 요청할 때 보낸 year값을 읽어볼 수 있다.@Controllerpublic class RequestParamTest { @RequestMapping("/requestParam") public String main(HttpServletRequest request) { String year = request.getParameter("year");// http://localhost/ch2/requestParam ---->> year=null// http://localhost/ch2/requestParam?year= ---->> year=""/..