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页面用下拉列表接收 做法是怎么的? 小弟感激不尽啊