当前位置: 代码迷 >> Java Web开发 >> VIEW集合问题啊
  详细解决方案

VIEW集合问题啊

热度:277   发布时间:2010-03-23 20:21:34.0
VIEW集合问题啊
public View getSentAfterAll(){
        logger.debug("getSentAfterAll where >>> ");
        List<XxtSchool> slist=null;
        
        try {
            slist = XxtSchool.findAll(XxtSchool.class);
        } catch (ActiveRecordException e) {
            logger.error(e.getMessage());
        }
        View view = new JsonView(slist);
        view.setContentType("text/html;charset=utf-8");
        response.setHeader("Pragma","No-cache");
        response.setHeader("Cache-Control","no-cache");
        response.setDateHeader("Expires", 0);
        logger.debug("getAreasAll return >>> " + view.toString());
        return view;
    }
问下载JSP页面用下拉列表接收 做法是怎么的? 小弟感激不尽啊
搜索更多相关主题的帖子: VIEW  

----------------解决方案--------------------------------------------------------
  相关解决方案