velocity页面取得map中指定键的值

来源:互联网 发布:电脑软件网 编辑:程序博客网 时间:2024/04/30 14:23
 

 java后台代码:Map<String, Integer> map = new HashMap<String, Integer>();
  map.put("qyjj", 94);request.setAttribute("singleBoards",map);

 页面:${singleBoards.get('qyjj')}

原创粉丝点击