ShowSearchResult1.jsp~2~
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- <%@ page contentType="text/html; charset=EUC_CN" %>
- <%@ page info="JavaCamp.com - ShowSearchResult1.jsp " import="java.util.Vector, slsbsample.ScheduleVO" %>
- <html>
- <title> Chapter 6 Search Schedule Sample Application</title>
- <body>
- <center>
- <h2> Chapter 6 Search Schedule Sample Application</h2>
- <table border="5">
- <caption><font size="4"> Search Result of Java Class Schedules</font></caption>
- <tr>
- <th>Schedule ID</th>
- <th>Course Title</th>
- <th>Location</th>
- <th>Start Date</th>
- <th>End Date</th>
- <th>Cost(US)</th>
- <th>Status</th>
- </tr>
- <% if (request.getAttribute("sched") != null){
- ScheduleVO schedule=(ScheduleVO)request.getAttribute("sched");
- %>
- <tr>
- <td><%=schedule.getScheduleID()%></td>
- <td><%=schedule.getCourseTitle()%></td>
- <td><%=schedule.getLocation()%></td>
- <td><%=schedule.getStartDate()%></td>
- <td><%=schedule.getEndDate()%></td>
- <td>$<%=schedule.getCost()%></td>
- <td><%=schedule.getStatus()%></td>
- </tr>
- <%
- }
- %>
- </table>
- <p>
- <a href=SearchCourse.htm>Search for Java Training classes</a>
- </center>
- </body>
- </html>