Init
This commit is contained in:
46
web/show.jsp
Normal file
46
web/show.jsp
Normal file
@@ -0,0 +1,46 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: LDQ
|
||||
Date: 2023/6/5
|
||||
Time: 18:42
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>航班系统</title>
|
||||
</head>
|
||||
<body>
|
||||
<table border="1" align="center" style="border-collapse: collapse;width: 80%">
|
||||
<tr align="center">
|
||||
<th align="center">序号</th>
|
||||
<th align="center">航号</th>
|
||||
<th align="center">航空公司</th>
|
||||
<th align="center">出发机场</th>
|
||||
<th align="center">达到机场</th>
|
||||
<th align="center">出发时间</th>
|
||||
<th align="center">到达时间</th>
|
||||
<th align="center">机型</th>
|
||||
<th align="center">操作</th>
|
||||
</tr>
|
||||
<c:forEach items="${flights}" var="f" varStatus="i">
|
||||
<tr align="center">
|
||||
<td align="center">${i.index+1}</td>
|
||||
<td align="center">${f.flightId}</td>
|
||||
<td align="center">${f.company}</td>
|
||||
<td align="center">${f.departureAirport}</td>
|
||||
<td align="center">${f.arriveAirport}</td>
|
||||
<td align="center">${f.departureTime}</td>
|
||||
<td align="center">${f.arriveTime}</td>
|
||||
<td align="center">${f.model}</td>
|
||||
<td align="center"><a href="/JavaWeb_Flight_System_war_exploded/update?id=${f.id}">修改</a> <a href="/JavaWeb_Flight_System_war_exploded/deleteFlight?id=${f.id}">删除</a></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
<a href="insertFlight.jsp">点击添加航班</a>
|
||||
|
||||
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user