首页 > 其他分享 >3.14双人总结

3.14双人总结

时间:2023-03-14 09:59:02浏览次数:38  
标签:总结 center text align 3.14 查询 width margin 双人

1、数据库设计:

  total_station

id;       序号
routine; 线路
sta_routine; 第几站
station;      站名

页面设计
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>地铁站查询</title>
</head>
<style type="text/css">
button{
color: gold;
background-color: mediumaquamarine;
text-align: center;
font-size:20px;
height: 35px;
width: 10%;
margin-left:45%;
margin-bottom: 50px;
}
h1{
text-align: center;
width: 500px;
margin: 50px auto;
}
h3{
text-align: center;
width: 500px;
margin: 10px auto;
}
table{
text-align: center;
margin-left:40%;
}
</style>
<body text="#ffe4c4" bgcolor="#fff0f5" background="img.png">
<form action="ResearchServlet" method="post">
<h1>线路查询</h1>
<input type="hidden" name="Method" value="XLCX"><br>
<h3>请输入线路号:<input type="text" name="routine"></h3><br>
<button type="submit">查询</button>
<table border="0" cellspacing="10" width="20%" >
<c:forEach items="${totalStations1}" var="totalStation1" varStatus="id1">
<tr align="center">
<td>${totalStation1.getSta_routine()}</td>
<td>${totalStation1.getStation()}</td>
</tr>
</c:forEach>
</table>
</form>
<form action="ResearchServlet" method="post">
<h1>站点查询</h1>
<input type="hidden" name="Method" value="ZDCX"><br>
<h3>请输入站点号:<input type="text" name="station"></h3><br>
<button type="submit">查询</button>
<table border="0" cellspacing="10" width="20%" >
<c:forEach items="${totalStations2}" var="totalStation2" varStatus="id2">
<tr align="center">
<td>${id2.count}</td>
<td>${totalStation2.getRoutine()}</td>
</tr>
</c:forEach>
</table>
</form>
<form action="ResearchServlet" method="post">
<h1>起点-终点查询</h1>
<input type="hidden" name="Method" value="SECX"><br>
<h3>请输入起点:<input type="text" name="station1"></h3><br>
<h3>请输入终点:<input type="text" name="station2"></h3><br>
<button type="submit">查询</button>
</form>
</body>
</html>




标签:总结,center,text,align,3.14,查询,width,margin,双人
From: https://www.cnblogs.com/jy-all-bug/p/17213821.html

相关文章

  • trycatchfinally执⾏顺序⾯试题总结
    trycatchfinally执⾏顺序⾯试题总结https://wenku.baidu.com/view/ea7200315c0e7cd184254b35eefdc8d376ee14d8.html?wkts=1678703969456&bdQuery=try+catch+finally+%E9%9......
  • Eclipse使用总结
      转载 https://www.cnblogs.com/Joetao/articles/16137714.html (1)ProjectExplorer面板右边viewmenu下拉菜单TopLevelElement两种组织项目方式(Projects或Wor......
  • 3.13双人总结
    起点-终点查询:输入起点、终点,找到两点之间的最有效线路 起点:知春路 终点:中关村 返回经历的站名的个数,和路径,如果有换乘,请列出换乘的线路。解体的大概思路。首先要接收到......
  • 双人项目地铁查询系统第一天
    合作伙伴:王垚基。今天创建了两个表,一个是所有站点的信息表,一个是所有中转换乘站点表,并且梳理了一下思路,导入数据花费了很大时间。 ......
  • 3.13每日总结——地铁查询系统1.0(第一次合作)
           思路首先是数据库存储:(1)采用List集合来存储线路上的站点信息。public static List lines = new ArrayList<>();(2)采用List集合来存储相邻站点信......
  • 每日总结-23.3.13
    课上内容地铁系统中的前两个查询部分//线路号查询,Stringname=线路名称publicPdchaxunxianlu(Stringname)throwsSQLException{Stringsql="s......
  • 3.13总结(结组)
    1,建立MySQL数据库并建立连接,再针对每一条线路以及换乘信息车站分别建立表。2,查询:制作查询界面,查询站点或线路的信息,并将其输出,并针对错误的输入报错。3,对于起点终点的查询,......
  • 每日总结
    起点-终点查询:输入起点、终点,找到两点之间的最有效线路起点:知春路终点:中关村返回经历的站名的个数,和路径,如果有换乘,请列出换乘的线路。解体的大概思路。首先要接收到起......
  • 每日总结2023/3/13
    成对作业今天上课王老师让我们二人组队完成一个地铁线路查询网页项目。下面是我的思路:首先进行该有的线路分析,比如在那个线路转线和如何找到最优的路线。我们首先进行......
  • 2023.3.13每日总结
    <%@pagelanguage="java"contentType="text/html;charset=UTF-8"pageEncoding="UTF-8"%><%@pageimport="java.util.*"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTD......