我用IDEA创建的项目,检查了配置文件没有错误,使用不了freemarker模板,这是什么原因啊?
@RequestMapping("/index")
public String index(ModelMap map){
System.out.print("54655656615111");
map.addAttribute("resource",resource);
return "freemarker/index";
}
@RequestMapping("/index")
public String index(ModelMap map){
System.out.print("54655656615111");
map.addAttribute("resource",resource);
return "freemarker/index";
}
2018-04-15
举报