java后台代码:Map<String, Integer> map = new HashMap<String, Integer>();
map.put("qyjj", 94);request.setAttribute("singleBoards",map);页面:${singleBoards.get('qyjj')}
velocity页面取得map中指定键的值
最新推荐文章于 2021-02-24 05:10:34 发布
java后台代码:Map<String, Integer> map = new HashMap<String, Integer>();
map.put("qyjj", 94);request.setAttribute("singleBoards",map);页面:${singleBoards.get('qyjj')}