1.后台代码:

ModelAndView mv = new ModelAndView("log/logList.ftl");

String info="abc";

mv.addObject("logInfo", info);

return mv;

2.前台freemarker代码:

${logInfo}

05-20 09:59