package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import ticketprj.*;
public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("index\r\n");
out.write("</title>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#ffffff\">\r\n");
out.write(" ");
SeatDAO seatDAO = new SeatDAO();
out.write("\r\n");
out.write(" <form action=\"");
out.print(request.getContextPath());
out.write("/operatorservlet\" name=\"form1\" method=\"POST\">\r\n");
out.write(" <table border=\"1\" align=\"center\">\r\n");
out.write(" ");
for(int i=1;i<=5;i++){
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td>");
out.print(i);
out.write("排</td>\r\n");
out.write(" ");
for(int j=1;j<=5;j++){
out.write("\r\n");
out.write(" <td>\r\n");
out.write(" ");
if(seatDAO.findBySeat(i+""+j)==1){
out.write("\r\n");
out.write(" <font color=\"RED\">");
out.print(j);
out.write("号座位已售</font>\r\n");
out.write(" ");
}
else{
out.write("\r\n");
out.write(" ");
out.print(j);
out.write("号座位未售\r\n");
out.write(" <input type=\"checkbox\" name=\"seat\" value=\"");
out.print(i+""+j);
out.write("\"/>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" </td>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write(" </table>\r\n");
out.write(" <div align=\"center\">\r\n");
out.write(" <input type=\"hidden\" name=\"op\" value=\"buy\"/>\r\n");
out.write(" <input type=\"submit\" value=\"购买\" name=\"buy\"/>\r\n");
out.write(" <input type=\"submit\" value=\"清场\" name=\"clear\" onclick=\"javascript:form1.op.value='clear'\"/>\r\n");
out.write(" </div>\r\n");
out.write(" </form>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
电影售票系统
共79个文件
class:9个
java:6个
tif:5个
4星 · 超过85%的资源 需积分: 15 263 下载量 19 浏览量
2008-06-16
02:19:30
上传
评论 3
收藏 672KB RAR 举报
温馨提示
实现很强大的电影售票功能...不容错过,,
资源推荐
资源详情
资源评论
收起资源包目录
电影售票.rar (79个子文件)
电影售票
电影售票
ticketprj
Tomcat
work
baidu
org
apache
jsp
index_jsp.java 4KB
index_jsp.class 5KB
tldCache.ser 44B
webapps
Servlet.library 219B
ticketprj.jpx.local~ 2KB
baidu
Error.jsp 170B
WEB-INF
web.xml 591B
lib
sqljdbc.jar 227KB
classes
ticketprj
DBHelper.class 1KB
SeatDAO.class 2KB
OperatorServlet.class 2KB
index.jsp 1KB
bak
ticketprj
OperatorServlet.java~7~ 1KB
DBHelper.java~1~ 50B
OperatorServlet.java~12~ 2KB
SeatDAO.java~13~ 901B
OperatorServlet.java~8~ 1KB
OperatorServlet.java~4~ 905B
SeatDAO.java~16~ 1KB
OperatorServlet.java~10~ 1KB
SeatDAO.java~8~ 570B
DBHelper.java~4~ 220B
OperatorServlet.java~11~ 1KB
SeatDAO.java~7~ 541B
SeatDAO.java~15~ 998B
SeatDAO.java~10~ 684B
DBHelper.java~7~ 429B
SeatDAO.java~11~ 765B
DBHelper.java~9~ 543B
DBHelper.java~8~ 488B
SeatDAO.java~14~ 932B
OperatorServlet.java~6~ 976B
DBHelper.java~3~ 163B
SeatDAO.java~12~ 798B
OperatorServlet.java~3~ 901B
OperatorServlet.java~5~ 907B
DBHelper.java~5~ 314B
DBHelper.java~6~ 376B
DBHelper.java~2~ 92B
SeatDAO.java~9~ 601B
OperatorServlet.java~9~ 1KB
baidu
index.jsp~18~ 884B
index.jsp~21~ 1KB
WEB-INF
web.xml~4~ 310B
web.xml~7~ 591B
web.xml~1~ 310B
web.xml~8~ 1KB
web.xml~3~ 824B
web.xml~2~ 310B
web.xml~5~ 591B
web.xml~6~ 1KB
index.jsp~19~ 1KB
index.jsp~16~ 813B
index.jsp~22~ 1KB
index.jsp~20~ 1KB
index.jsp~15~ 768B
index.jsp~23~ 1KB
index.jsp~17~ 836B
Error.jsp~1~ 330B
index.jsp~14~ 757B
src
ticketprj
DBHelper.java 645B
OperatorServlet.java 2KB
SeatDAO.java 1KB
classes
Generated Source
.jsp
baidu
org
apache
jsp
Error_jsp.java 2KB
index_jsp.java 3KB
jsp cache
baidu
org
apache
jsp
Error_jsp.class 3KB
index_jsp.class 4KB
package cache
org.apache.jsp.dep2 5KB
ticketprj
DBHelper.class 1KB
SeatDAO.class 2KB
OperatorServlet.class 2KB
package cache
ticketprj.dep2 4KB
ticketprj.jpx 7KB
ticketprj.jpx.local 2KB
S2_07.12.16
1.TIF 53KB
4.TIF 128KB
3.TIF 74KB
2.TIF 99KB
5.TIF 122KB
共 79 条
- 1
资源评论
- yueguaitingbao2014-09-17虽然有些小问题,但还是可以借鉴
- 健叔是我2013-07-24还不错 改改就可以用了
sfffjhhgk
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功