// 后台展示页 public String showAdminList() throws Exception { xwlist = dao.listall(); return "news-admin"; }
// ǰ̨前台展示全部 public String showAll() throws Exception { xwlist = dao.listall(); return "news-list"; }