<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ page import="java.sql.*"%>
<%@ page import="net.lisoft.service.log.*"%>
<%@ page import="java.util.HashMap.*"%>
<%@ page import="java.util.List.*"%>
<%@ page import="java.util.Map.*"%>
<html>
<body>
<%
//List<TB_System_Log> rs = LogList.getLoglist();
List rs = LogList.getLoglist2();
//下面的代码太重要了,否则根本无法显示数据,调整了半个上午
request.setAttribute("rs", rs);
%>
<table border="1" width="100%">
<c:forEach items="${rs}" var="p">
<tr>
<td>
${p.ID }
</td>
<td>
${p.CreateDate }
</td>
</tr>
</c:forEach>
</table>
</body>
</html>
标签: