Spring practice 2
package com.spring.practice; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller @RequestMapping("/hi.mandip") public class MySpringMvcAnnotationController { @RequestMapping(method = RequestMethod.GET) public String sayHi(ModelMap model) { model.addAttribute("message", "Hi All! Welcome to Spring MVC Framework. WHHHOOOOOO!!"); return "hi"; } } ------------------------------- package com.spring.practice; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller @RequestMapping("/hello.mandip") public class MySpringMvcAnnotationControllerHello { @Req...