基于JSP的外卖点餐系统的设计与实现摘要随着电子商务的迅速发展以及时代的不断进步,今天的社会已经成为了彻彻底底的信息化时代。生活水平的提高使得人们不再单纯的满足于实体消费,同时工作上的忙碌让很多的人不得不通过网络来解决一些实际的问题。餐饮是必不可少的行业,然而大部分的实体餐饮店由于受到环境、时间等因素的限制不再是人们唯一的去处,越来越多的消费者逐渐将目光转移到网络订餐,他们在忙碌的情况下更愿意通过网上订餐来解决吃饭的问题。同时,企业经营者也不会放过这种绝佳的赚钱渠道。目前已经有了越来越多的网上外卖点餐系统。通过结合如今腾飞的电子商务以及人们消费观念的改变同时结合实地考察开发了本外卖点餐系统,通过本系统能够有效地解决消费者吃饭的问题,同时也为企业经营者开拓了另一片投资赚钱的天地。本外卖点餐系统通过使用JSP+Mysql技术来进行实现,采用了Tomcat作为服务器平台,采用SSH框架技术来对程序进行了高效的开发,本外卖点餐系统主要是通过前台来面向全体消费者,通过后台来对前台的主要信息进行实时、统一、高效的管理。关键词:外卖点餐;JSP程序语言;Tomcat服务器;Mysql数据库;SSH框架ABSTRACTWiththerapiddevelopmentofe-commerceandthecontinuousprogressofthetimes,today'ssocietyhasbecomeaneraofthoroughinformationera.Theimprovementoflivingstandardsmakespeoplenolongersimplysatisfiedwiththerealconsumption.Whilethebusyworkmakespeoplehavetosolvesomepracticalproblemsthroughthenetwork.Cateringindustryisessential.However,duetorestrictionsbytheenvironment,timeandotherfactors,mostoftheentitiesrestaurantsarenolongertheonlyplaceforpeople.Moreandmoreconsumersgraduallyshiftattentiontoonlineordering.Theyengagedinmorewillingtothroughonlineinordertosolvethefoodproblem.Atthesametime,businessoperatorswillnotletgoofthisgreatmoneychannel.Therearealreadyagrowingnumberofonlinetakeawayorderingsystem.Bycombiningnowtake-offofelectroniccommerceandpeople'sconsumptionconceptchangeandcombiningwiththeon-the-spotinvestigationdevelopedthetakeawayorderingsystem.ThroughthissystemthatcaneffectivelysolvetheeatproblemofconsumersanddevelopanotherpieceofthemoneyforenterprisemanagersThetakeawayorderingsystemusesJSP+MysqltechnologytorealizeanduseTomcatastheserverplatform.UseSSHframetechnologytodeveloptheprogramefficiently,thetakeawayorderingsystemismainlythroughtheforegroundforallconsumers,throughthebackgroundonthefrontofthemaininformationofreal-time,unifiedandefficientmanagement.Keywords:TakeawayOrdering;JSPProgrammingLanguage;TomcatServer;MysqlDatabase;SSHFramework目录摘要.................................................................1ABSTRACT...............................................................21绪论...............................................................11.1课题的任务与目的................................................11.2动态网页设计方案................................................11.3开发工具及环境..................................................11.3.1操作网站平台:Windows7....................................11.3.2开发技术:JSP..............................................21.3.3数据库网站:MySql..........................错误!未定义书签。1.3.4服务器:Tomcat.............................................21.3.5框架:SSH..................................................21.4ASP技术........................................................21.5JSP技术........................................................31.6PHP技术........................................................31.7三种技术比较分析................................................42网站分析.............................................................52.1需求描述........................................................52.2网站功能分析....................................................62.2.1网站分析定义...............................................62.2.2用例图描述功能.............................................62.3可行性分析.....................................................72.4运行环境.......................................................83网站设计与实现.......................................................93.1网站总体结构设计................................................93.2数据库结构设计..................................................93.2.1数据库设计E-R图...........................................93.2.2数据库的物理结构..........................................103.3具体功能设计...................................................124外卖点餐系统的功能实现..............................................154.1网站主页面模块.................................................154.2前台功能模块...................................................154.2.1我的信息.................................................154.2.2我的订餐车...............................................174.2.4留言板...................................................174.2.5网站公告.................................................194.3后台功能模块...................................................194.3.1管理员登录界面...........................................194.3.2注册会员管理.............................................204.3.3菜品类别管理.............................................204.3.4菜品管理.................................................214.3.5订单管理.................................................224.3.6留言管理.................................................224.3.7公告管理.................................................225系统测试.........................................................23结束语................................................................25参考文献..............................................................26致谢................................................................27第1章绪论1.1课题的任务与目的互联网的发展势必会使得越来越多的企业通过它来进行宣传与推广,而计算机的普及让更多的人将可通过网络来进行各种活动包括娱乐、学习、工作、购物等,甚至可以说,人们已经离不开网络。大街小巷随处可见人们用手机去浏览新闻,玩游戏,看电影,办公,聊天。同时在各大企业的办公室里,每个职员都拥有一台自己的办公计算机。种种现象均说明如今已经全面步入信息化时代。喜欢购物是人们的天性,而通过网络点外卖如今虽然已经有很多的人在使用,但是更多的人还是依然去实体餐