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