diff --git a/ticketing-master/WebContent/pages/user/getByStartEndStation.jsp b/ticketing-master/WebContent/pages/user/getByStartEndStation.jsp
index 3ee53ef..a6e5adf 100644
--- a/ticketing-master/WebContent/pages/user/getByStartEndStation.jsp
+++ b/ticketing-master/WebContent/pages/user/getByStartEndStation.jsp
@@ -1,116 +1,176 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+
+
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+
+
<%
+ // 获取请求的上下文路径,用于构建应用的根路径
String path = request.getContextPath();
+ // 构建基础路径,包含协议、服务器名称、端口号和上下文路径,用于后续资源的路径构建
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
+
+
+
+
+
+
-
- 根据起点站、终点站、出发时间查询展示车次信息
-
-
- <%--
- --%>
-
-
-
-
-
-
-
-
+
+
+
+ 根据起点站、终点站、出发时间查询展示车次信息
+
+
+
+
+
+
+ <%--
+ --%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 序号 |
- 车次 |
- 起始站 |
- 终点站 |
- 开车时间 |
- 到站时间 |
- 票价/元 |
- 剩余座位数 |
- 操作 |
-
-
-
-
-
- ${status.index+1} |
- ${allTrain.trainNumber} |
- ${allTrain.startStation} |
- ${allTrain.endStation} |
- ${allTrain.startTime} |
- ${allTrain.endTime} |
- ${allTrain.price} |
- ${allTrain.seatNumber} |
- 订票 |
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 序号 |
+ 车次 |
+ 起始站 |
+ 终点站 |
+ 开车时间 |
+ 到站时间 |
+ 票价/元 |
+ 剩余座位数 |
+ 操作 |
+
+
+
+
+
+
+ ${status.index+1} |
+
+ ${allTrain.trainNumber} |
+
+ ${allTrain.startStation} |
+
+ ${allTrain.endStation} |
+
+ ${allTrain.startTime} |
+
+ ${allTrain.endTime} |
+
+ ${allTrain.price} |
+
+ ${allTrain.seatNumber} |
+
+ 订票 |
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
\ No newline at end of file
+
+
+
+ $('.table-sort').dataTable({
+
+ "aaSorting": [[ 0, "asc" ]],//默认第几个排序
\ No newline at end of file