⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ticketinfo.jsp

📁 主要是航空预订系统
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gbk"
    pageEncoding="gbk"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
</head>
<body>

<p>&nbsp;</p>
<table width="874" height="212" border="1" align="center">
  <tr>
    <th width="97" scope="col">航空公司</th>
    <th width="74" scope="col">航班号</th>
    <th width="87" scope="col">起飞时间</th>
    <th width="90" scope="col">到达时间</th>
    <th width="70" scope="col">原价</th>
    <th width="65" scope="col">舱位/票数/价格</th>
    <th width="68" scope="col">建设/燃油</th>
    <th width="68" scope="col">预定</th>
  </tr>
  <logic:present name="fights">
    <logic:iterate id="fight" name="fights">
    <html:form action="/loadTakeSelfAddressAction.do?fid=${fight.fightId}&leavecity=${fight.leaveCity}" method="post">
	  <tr>
	    <td><bean:write name="fight" property="fightName"/></td>
	    <td><bean:write name="fight" property="fightNo"/></td>
	    <td><bean:write name="fight" property="leaveTime"/></td>
	    <td><bean:write name="fight" property="arriveTime"/></td>
	    <td><bean:write name="fight" property="price"/></td>
	    <td>
	       <select name="engineRoom">
	         
	          <option>特价舱/${fight.specialNum}/${0.5*fight.price}</option>
	       
	        
	          <option>经济舱/${fight.economicNum}/${0.7*fight.price}</option>
	        
	       
	          <option>公务舱/${fight.businessNum}/${0.8*fight.price}</option>
	         
	          <option>头等舱/${fight.headNum}/${fight.price}</option>
	        
	       </select>
	    </td>
	    <td><bean:write name="fight" property="fuelRate"/>/<bean:write name="fight" property="buildRate"/></td>
	    <td><html:submit>预定</html:submit></td>
	  </tr>
	  </html:form>
    </logic:iterate>
  </logic:present>
  <tr>
    <td><a href="index.jsp" target="_top">再次查询</a></td>
  </tr>
</table>

</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -