|
|
|
@ -98,6 +98,8 @@ public class search_fly extends HttpServlet {
|
|
|
|
|
flight_info.setF_delay(res.getString(10));
|
|
|
|
|
flight_info.setF_food(res.getString(11));
|
|
|
|
|
flight_info.setF_wide(res.getString(12));
|
|
|
|
|
flight_info.setF_depcode(res.getString(13));
|
|
|
|
|
flight_info.setF_dstcode(res.getString(14));
|
|
|
|
|
flightlist.add(flight_info);
|
|
|
|
|
}
|
|
|
|
|
req.setAttribute("date", date);
|
|
|
|
@ -105,7 +107,7 @@ public class search_fly extends HttpServlet {
|
|
|
|
|
req.setAttribute("destination", destination);
|
|
|
|
|
req.setAttribute("flightlist", flightlist);
|
|
|
|
|
} catch (SQLException e) {
|
|
|
|
|
System.out.println("閿欒淇℃伅锛<EFBFBD>" + e);
|
|
|
|
|
System.out.println("SQL错误信息是" + e);
|
|
|
|
|
} finally {
|
|
|
|
|
conn.closeDB();
|
|
|
|
|
}
|
|
|
|
|