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

📄 result.jsp

📁 这个是j2eejava web 编程精要十五讲的全部源码。对学习java web编程的人来说是很能得的资料
💻 JSP
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="hibernate_tier.Train" %>
<html>
<head>
<title>
查询结果
</title>
</head>
<%
  Train t = (Train)session.getAttribute("result");
  session.removeAttribute("result");
%>
<body bgcolor="#ffffff">
<h1>
<center>列车车次查询结果</center>
</h1>
<table align=center border=1 cellspacing=5 cellpadding=1 width=80%>
<tr width=80%>
  <td width=50%>
  列车车次:
  </td>
  <td width=50%><%=new String(t.getTrainCode().getBytes("ISO8859_1"))%> </td>
  </tr>
  <tr>
  <td>始发站: </td>
  <td><%=new String(t.getStartStation().getBytes("ISO8859_1"))%> </td>
  </tr>
   <tr>
  <td>始发时间:</td>
  <td><%=t.getStartTime()%></td>
   </tr>
    <tr>
  <td>终点站:</td>
  <td><%=new String(t.getTerminal().getBytes("ISO8859_1"))%></td>
   </tr>
    <tr>
 <td> 到达时间:</td>
 <td><%=t.getTerminalTime()%></td>
  </tr>
   <tr>
 <td> 全程票价(元):</td>
 <td><%=new String(t.getPrice().getBytes("ISO8859_1"))%></td>
  </tr>
 </table>
</body>
</html>

⌨️ 快捷键说明

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