基于JAVA的网上订票系统源码

上传者: caoshangpa | 上传时间: 2019-12-21 19:31:15 | 文件大小: 2.59MB | 文件类型: zip
用到的技术为:javabean-servlet-jsp sql server 2000 数据库文件在WebRoot的DB文件中! 本系统实现了会员注册,会员登录,密码修改,以及会员信息的修改! 初步实现了在线订购,订单查询,班次查询以及系统管理--对火车信息的添加等。 操作过程: 首先,应导入到myeclipse中,将该系统发布到tomcat中,并启动tomcat! 接着在360浏览器中输入http://localhost:8080/bookonline/login.jsp 管理员的帐号为:guanliyuan 密码为:123456789 用户帐号为:987654321 密码为:987654321 当然可以在登录界面中点击注册链接,跳转到注册页面中进行注册(注:只能注册用户的,没有管理员注册!这是该系统中的一个问题)。 登录进去后进入主界面main.jsp中。在该界面中,可以点击修改用户信息,密码等链接,管理员还可以点击添加火车信息的链接。当然还可以查看火车信息。(注:只有在查询后,才能进行订票)。 注: 用到的页面 login.jsp——登录界面,可以链接到注册用户的界面。用admin字段来标识是否为管理员。其中有一个用户为987654321密码为987654321,另一个为管理员guanliyuan密码为123456789 register.jsp——用户注册页面,默认的所有注册方式为用户,即所有的用户admin为0。而管理员事先设置好了,即admin为1。 registerfailed.jsp registersuccess.jsp——为注册成功或失败时用到的页面 main.jsp——为系统主页面,在这里可以链接到订票,查询,修改信息,修改密码,管理员添加火车信息等。该页面用到了专题咨询里面的主框架结构,和部分代码。 queryfailed.jsp——当查询失败时所连接到的界面 addtrain.jsp——管理员添加火车信息时的页面 adderror.jsp——用户点击添加火车信息时产生的错误界面 showticket.jsp——显示火车票信息,此时可以进行订票。 bookfailes.jsp booksuccess.jsp——订票成功或失败时所链接的界面。 view.jsp——浏览火车票信息。 modifyinfo.jsp——修改用户信息,在这里不可能更改密码,以及权限。 passwordmodify.jsp——修改密码!

文件下载

资源详情

[{"title":"( 84 个子文件 2.59MB ) 基于JAVA的网上订票系统源码","children":[{"title":"火车订票","children":[{"title":"src","children":[{"title":"com","children":[{"title":"bookonline","children":[{"title":"Servlet","children":[{"title":"ModifyServlet.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"AddServlet.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"BookServlet.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"QueryServlet.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"PasswordServlet.java <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"AddTrainServlet.java <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"LoginServlet.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"NewUser.java <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"NoparamServlet.java <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"ViewServlet.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"JavaBean","children":[{"title":"UserBean.java <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"TicketBean.java <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"TicketDao.java <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"UserDao.java <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"DB","children":[{"title":"DB.java <span style='color:#111;'> 966B </span>","children":null,"spread":false}],"spread":true},{"title":"Filter","children":[{"title":"SetCharacterEncoding.java <span style='color:#111;'> 858B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bookonline.iml <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":".mymetadata <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 327B </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Java_EE_6_Java_EE_6.xml <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"maven_reposity.xml <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"Spring_MVC_4_1_6_RELEASE.xml <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"Spring_4_1_6_RELEASE.xml <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false}],"spread":true},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true},{"title":"artifacts","children":[{"title":"bookonline_war_exploded.xml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"bookonline_Web_exploded.xml <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"dbnavigator.xml <span style='color:#111;'> 21.27KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 10B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 260B </span>","children":null,"spread":false}],"spread":false},{"title":"系统说明.txt <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"javax.persistence.jar <span style='color:#111;'> 126.75KB </span>","children":null,"spread":false},{"title":"javax.servlet.jar <span style='color:#111;'> 68.29KB </span>","children":null,"spread":false},{"title":"javax.annotation.jar <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"javax.ejb.jar <span style='color:#111;'> 46.47KB </span>","children":null,"spread":false},{"title":"javax.transaction.jar <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"javax.jms.jar <span style='color:#111;'> 25.35KB </span>","children":null,"spread":false},{"title":"javax.resource.jar <span style='color:#111;'> 43.47KB </span>","children":null,"spread":false},{"title":"javax.servlet.jsp.jar <span style='color:#111;'> 76.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 36B </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"right.png <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"002.jpg <span style='color:#111;'> 24.66KB </span>","children":null,"spread":false},{"title":"003.jpg <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"001.tmp <span style='color:#111;'> 24.41KB </span>","children":null,"spread":false},{"title":"footerbg.png <span style='color:#111;'> 47.56KB </span>","children":null,"spread":false},{"title":"001.jpg <span style='color:#111;'> 1.38MB </span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"showticket.jsp <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"passwordmodify.jsp <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"registerfailed.jsp <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"js","children":[{"title":"javascript.js <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"zimu.js <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"publicFun.js <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"userckeck.js <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"index.jsp <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"adderror.jsp <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"css","children":[{"title":"style.css <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false}],"spread":false},{"title":"login.jsp <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"registersuccess.jsp <span style='color:#111;'> 870B </span>","children":null,"spread":false},{"title":"addtrain.jsp <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"bookfailed.jsp <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"booksuccess.jsp <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"view.jsp <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"main.jsp <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"DB","children":[{"title":"bookonline_Data.MDF <span style='color:#111;'> 1024.00KB </span>","children":null,"spread":false},{"title":"bookonline_Log.LDF <span style='color:#111;'> 1024.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"queryfailed.jsp <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"modifyinfo.jsp <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false},{"title":"register.jsp <span style='color:#111;'> 8.09KB </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"lib","children":[{"title":"msbase.jar <span style='color:#111;'> 280.29KB </span>","children":null,"spread":false},{"title":"mssqlserver.jar <span style='color:#111;'> 65.54KB </span>","children":null,"spread":false},{"title":"jstl.jar <span style='color:#111;'> 20.20KB </span>","children":null,"spread":false},{"title":"standard.jar <span style='color:#111;'> 384.04KB </span>","children":null,"spread":false},{"title":"msutil.jar <span style='color:#111;'> 57.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • weixin_43470633 :
    挺好的资源没有错误
    2018-10-22
  • 大别山的小渔夫 :
    很好的资料,很齐全,谢谢.
    2018-03-30

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明