<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>数据打印页面</title>
<script type="text/javascript">
function print(){
Set RegWsh = CreateObject("WScript.Shell");
hkey_key="/header";
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"";
hkey_key="/footer";
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"";
document.all.WB.ExecWB(6,1);
}
</script>
</head>
<OBJECT id=WB classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<body οnlοad="print();">
<table align="center" class="commonList"
cellpadding="0" cellspacing="0" border="1" bordercolor="black">
<tr>
<td>名字</td>
<td>邮箱</td>
<td>电话</td>
<td>创建人</td>
<td>更新人</td>
<td>创建时间</td>
<td>更新时间</td>
<td>测试字段1</td>
<td>测试字段2</td>
<td>测试字段3</td>
<td>测试字段4</td>
</tr>
<c:forEach items="${List}" var="VO">
<tr>
<td>${VO.name }</td>
<td>${VO.email }</td>
<td>${VO.mobile }</td>
<td>${VO.ceratedBy }</td>
<td>${VO.lastUpdatedBy }</td>
<td>${VO.createdDate }</td>
<td>${VO.lastUpdatedDate }</td>
<td><textarea rows="5" cols="8">${VO.custText01}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText02}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText03}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText04}</textarea></td>
</tr>
</c:forEach>
</table>
</body>
</html>
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>数据打印页面</title>
<script type="text/javascript">
function print(){
Set RegWsh = CreateObject("WScript.Shell");
hkey_key="/header";
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"";
hkey_key="/footer";
RegWsh.RegWrite hkey_root+hkey_path+hkey_key,"";
document.all.WB.ExecWB(6,1);
}
</script>
</head>
<OBJECT id=WB classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<body οnlοad="print();">
<table align="center" class="commonList"
cellpadding="0" cellspacing="0" border="1" bordercolor="black">
<tr>
<td>名字</td>
<td>邮箱</td>
<td>电话</td>
<td>创建人</td>
<td>更新人</td>
<td>创建时间</td>
<td>更新时间</td>
<td>测试字段1</td>
<td>测试字段2</td>
<td>测试字段3</td>
<td>测试字段4</td>
</tr>
<c:forEach items="${List}" var="VO">
<tr>
<td>${VO.name }</td>
<td>${VO.email }</td>
<td>${VO.mobile }</td>
<td>${VO.ceratedBy }</td>
<td>${VO.lastUpdatedBy }</td>
<td>${VO.createdDate }</td>
<td>${VO.lastUpdatedDate }</td>
<td><textarea rows="5" cols="8">${VO.custText01}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText02}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText03}</textarea></td>
<td><textarea rows="5" cols="8">${VO.custText04}</textarea></td>
</tr>
</c:forEach>
</table>
</body>
</html>