When I'm looking at Spring FrameWork 3.0 I see the following code example:
@RequestMapping("/index.dlp")
public ModelAndView index(){
logger.info("Return View");
return new ModelAndView("index");
}
This option doesn't work for me. Only when I change the code the following way:
@RequestMapping("/index.dlp")
public ModelAndView index(){
logger.info("Return View");
return new ModelAndView("index.jsp");
}
It works fine. Can anybody tell me why?