实现的前提,一定要在jsp文件顶部加上
<%@page isELIgnored="false" %> 如上图${aa}与${bb},是直接使用Model的key值对应的spring后台图片如下,直接给Model调用addAttribute方法即可,用法与Map相同
访问"/model"后效果如下图: