<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <%@ page import="com.xxx.model.huodong" %> <%@ page import="com.xxx.model.XinWen" %> <%@ page import="com.xxx.model.Page" %> <%@ page import="com.xxx.dao.huodongDao" %> <%@ page import="com.xxx.dao.XinWenDao" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <% Integer currentPage = request.getParameter("page") == null ? 1 : Integer.parseInt(request.getParameter("page")); Integer pageSize = request.getParameter("rows") == null ? 999 : Integer.parseInt(request.getParameter("rows")); huodong _huodong = new huodong(); _huodong.setstrwhere(""); huodongDao _huodongDao = new huodongDao(); List huodongList = _huodongDao.gethuodongList(_huodong, new Page(currentPage, pageSize)); XinWen XinWen = new XinWen(); XinWen.setstrwhere(""); XinWenDao XinWenDao = new XinWenDao(); List xinwenlist = XinWenDao.getXinWenList(" 5 ",XinWen, new Page(currentPage, pageSize)); System.out.print("huodongList个数 :::"+huodongList.size()+" "); %> 社团网

活动

Gadgets and Technology

推荐资讯

<% if(xinwenlist!=null){ int i =-1; for(Iterator iterator = xinwenlist.iterator();iterator.hasNext();){ XinWen _hd = (XinWen)iterator.next(); i++; %>
rs_img
<%}} %>

最新资讯

<% if(xinwenlist!=null){ int i =-1; for(Iterator iterator = xinwenlist.iterator();iterator.hasNext();){ XinWen _hd = (XinWen)iterator.next(); i++; %>
img

<%=_hd.gettitle() %>

<%=_hd.getshijian() %>

<%}} %>