前台freemark获取后台的值时间:2023-03-10 07:12:40 1.后台代码: ModelAndView mv = new ModelAndView("log/logList.ftl"); String info="abc"; mv.addObject("logInfo", info); return mv; 2.前台freemarker代码: ${logInfo}