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

📄 c0e13870633b001d12f483999dc4cf57

📁 自己做的一个火车票售票网站是课程设计 用的是servlet+jsp 数据库是ms
💻
字号:
<%@ page contentType="text/html;charset=utf-8"%>
<%@ page import="com.vo.*" %>
<%@ page import="java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    
    <title>My JSP 'show.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
 
  <body> 
  <table width="80%" border="1">
	<tr>
		<td>车次号</td>
		<td>始发站</td>
		<td>终点站</td>
		<td>开车时间</td>
		<td>到站时间</td>
		<td>里程数</td>
		<td>列车类型</td>
	</tr>
<% Collection newCollection=(Collection)request.getAttribute("allCheciVO");
Iterator it =newCollection.iterator(); 
while(it.hasNext()){
	CheciVO vo =(CheciVO)it.next();
  String number=vo.getCheciNumber();
   String start=vo.getCheciStart();
   String end= vo.getCheciEnd();
  String startTime=vo.getCheciStartTime();
   String endTime=vo.getCheciEndTime();
   int length=vo.getCheciLength();
    String type=vo.getCheciType();
}
%>
<%=number %>
<%=start %><%=end %><%=startTime %><%=endTime %><%=length %><%=type %>
<%
%>

  </body>
</html>

⌨️ 快捷键说明

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