Changed File name
This commit is contained in:
parent
0a1e31a30b
commit
fbae4042c6
@ -5,11 +5,11 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.servlet.ModelAndView;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
public class RequestMappingHandlerAdapterExampleController {
|
public class RequestMappingHandlerAdapterExample {
|
||||||
@RequestMapping("/requestName")
|
@RequestMapping("/requestName")
|
||||||
public ModelAndView getEmployeeName() {
|
public ModelAndView getEmployeeName() {
|
||||||
ModelAndView model = new ModelAndView("Greeting");
|
ModelAndView model = new ModelAndView("Greeting");
|
||||||
model.addObject("message","Madhwal");
|
model.addObject("message", "Madhwal");
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user