@At public Map list(@Param("page") int page, @Param("pagesize") int pagesize) { Pager pager = dao.createPager(page, pagesize); List<News> list = dao.query(News.class, Cnd.orderBy().asc("id"), pager); Map m = new HashMap<String, Object>(); m.put("Rows", list); m.put("Total", dao.count(News.class, null)); return m; }
比如上面这段代码会返回list.jsp,请问怎么把内容生成静态html文件?谢谢