📄 40264b46603c001d1beaa29818841073
字号:
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ page import="com.vo.*"%>
<%@ page import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
html,body,iframe,table,td,tr,h3 {
margin: 0;
padding: 0;
}
body {
font-family: "宋体";
font-size: 12px;
}
#mainContent {
margin: 20px auto;
border-top: 2px dashed #e4da56;
padding-top: 10px;
width: 760px;
}
h3 {
color: #FF0000;
}
.bianse {
background-color: #cbcbcb;
}
.biankuang {
border-left: 2px solid #FF6666;
}
</style>
<script type="text/javascript">
function bianse(object){
document.getElementById(object.id).className='bianse';}
function huifu(object){
document.getElementById(object.id).className='none';}
</script>
</head>
<body>
<center>
<div id="mainTop">
<iframe src="top.jsp" frameborder="0" scrolling="no" width="760px"
id="mainIframe1" name="mainIframe" height="450px">
</iframe>
</div>
<div id="mainContent">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td colspan="7">
<img src="img/center_ht0005.gif" height="30" width="100%" />
</td>
</tr>
<tr>
<td>
<h3>
车次
</h3>
</td>
<td>
<h3>
始发站
</h3>
</td>
<td>
<h3>
终点站
</h3>
</td>
<td>
<h3>
发车时间
</h3>
</td>
<td>
<h3>
到站时间
</h3>
</td>
<td>
<h3>
里程数
</h3>
</td>
<td>
<h3>
列车类型
</h3>
</td>
</tr>
<%
request.setCharacterEncoding("utf-8");
Collection newCollection = (Collection) request
.getAttribute("allCheciVO");
Iterator it = newCollection.iterator();
while (it.hasNext()) {
CheciVO vo = (CheciVO) it.next();
String number = vo.getCheciNumber();
if (number == null) {
response.sendRedirect("error.jsp");
}
String start = vo.getCheciStart();
String end = vo.getCheciEnd();
String startTime = vo.getCheciStartTime();
String endTime = vo.getCheciEndTime();
int length = vo.getCheciLength();
String type = vo.getCheciType();
%>
<tr onmouseover="bianse(this)" onmouseout="huifu(this)" id="tr2"
class="biankuang">
<td>
<%=number %>
</td>
<td>
<%=start %>
</td>
<td>
通达街307号
</td>
</tr>
<tr>
<td colspan="7">
<img src="img/center_ht0003.gif" width="100%" />
</td>
</tr>
</table>
</div>
<div id="mainFooter">
<iframe src="footer.html" frameborder="0" scrolling="no"
width="760px" id="mainIframe2" name="mainIFrame2">
</iframe>
</div>
</center>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -