结对作业第七天

 

<body>

<div style="width: 100%; font-family: 微软雅黑; text-align: center; font-size: 20pt; ">石家庄铁道大学北京地铁查询系统</div><br/>
<div id="localtime" style="text-align: center;"></div>
<div id="tabDiv" style="width: 1400px">

<div id="tabsHead">
<a id="tabs1" class="curtab" href="javascript:showTab('tabs1','tabContent1')">线路规划查询结果</a>

</div>

<div id="tabContent1" style="display:block ">
<form action="lineresult.jsp">
<table style="border-width: 0; width: 100%; padding: 5px; ">
<tr>

<table border="1" cellpadding="10" style=" border-left-color: #B0C4DE; border-bottom-color: #B0C4DE; width: 100%;border-top-style: solid; border-top-color: #B0C4DE; border-right-style: solid; border-left-style: solid; height: 250px; border-right-color: #B0C4DE; border-bottom-style: solid">
<h4 align="center">我们为您列出了所有可能的路线,第一条为最优路线,请您视情况选择最佳路线</h4>
<tr>
<th align="center" bgcolor="#F0FFFF" ><%="起始站"%></th>
<th align="center" bgcolor="#F0FFFF" ><%="终点站"%></th>
<th align="center" bgcolor="#F0FFFF" ><%="经过站数"%></th>
<th align="center" bgcolor="#F0FFFF" ><%="具体路线"%></th>
</tr>
<%
response.setContentType("text/html;charset=UTF-8");

ArrayList<SubwayBean> arr = (ArrayList<SubwayBean>) request.getAttribute("routeMain");

SubwayBean subwayBean1 = new SubwayBean();
subwayBean1._StartStation = arr.get(0)._StartStation;
subwayBean1._EndStation = arr.get(0)._EndStation;
subwayBean1._Number = arr.get(0)._Number;
subwayBean1._Path = arr.get(0)._Path;
%>
posted @ 2024-04-22 19:16  欧吼吼  阅读(4)  评论(0编辑  收藏  举报