标题:VIEW集合问题啊
只看楼主
sp0924
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2010-3-23
 问题点数:0 回复次数: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 
2010-03-23 20:21



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-300330-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.140307 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved