%@page contentType="text/html; charset=GBK"%> <%@page pageEncoding="GBK"%> <%@page import="tot.db.DBUtils"%> <%@page import="com.tot.util.*"%> <%@page import="com.tot.Catalog"%> <%@page import="com.tot.news.*"%> <%@page import="java.sql.*"%> <% request.setCharacterEncoding("GBK"); int PageSize=26; int CurrentPage=1; int intPageCount=0; int intTotalNum=0; if(GetRequestPara.getIntParameter(request,"page")<1){ CurrentPage=1; } else{ CurrentPage=GetRequestPara.getIntParameter(request,"page"); } NewsList news=null; DataField[] df=null; Connection conn=null; try{ //读取配置域名 //获取系统配置参数 ConfigSite cs=new ConfigSite(); String newsurl=cs.getNewsUrl(); conn = DBUtils.getConnection(); news=new NewsList(conn); %>
<%
if(df!=null && df.length>=1){
for(int i=0;i ·<%=df[i].getFieldValue("Title")%>(<%=df[i].getFieldValue("Moditime")%>)
<%
}
}
%>