package controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

public class model1 {
	
	@RequestMapping(value="/hello", method = RequestMethod.GET)
	public ModelAndView helloWorld() {
		String mid_value = "우리의 미래는 기쁨과 환희로 가득 할 것이다.....";
		
		ModelAndView mav = new ModelAndView();
		mav.setViewName("vision_2018");
		mav.addObject("massage",mid_value);
		
		return mav;
	}
	
}
