easyUI中用了c标签的forEach方法输出相应的数据

easyUI中用了c标签的forEach方法输出相应的数据,如何才能让这个C标签绑定后台的一个方法,得到它要输出的值呢,代码如下

        </c:forEach>

    </div>

    后台方法
    @RequestMapping("/ksgltosub")
public String ksgltosub( HttpSession session,HttpServletRequest request,HttpServletResponse response) throws Exception{     
    //得到checkbox形式的科目名称
    System.out.println("得到的科目信息"+request.getParameter("id"));
    int staId=Integer.parseInt(request.getParameter("id"));
    List<Subject> list =sub.getstaid(staId);
    System.out.println("通过条件筛选的数据"+list);
    response.setCharacterEncoding("utf-8");
    request.setAttribute("list", list); 
    return "yyj_ksxxwh/ksgl";
}

http://blog.csdn.net/zheng0518/article/details/10474145

怎么解决的呢 大兄弟