基于java的在线投票系统毕业设计论文

  • 格式:pdf
  • 大小:1.54 MB
  • 文档页数:31

目录

I目录摘要.........................................................................................................................................IAbstract...................................................................................................................................II第一章引言...............................................................................................................................1第二章需求分析.......................................................................................................................22.1技术分析.....................................................................................................................22.2经济分析.....................................................................................................................22.3模块分析.....................................................................................................................22.4总结:.........................................................................................................................3第三章系统应用及关键技术...................................................................................................43.1Java介绍....................................................................................................................43.2JSP技术......................................................................................................................43.2.1JSP简介..........................................................................................................43.2.2JSP运行机制....................................................................................................53.3MYSQL数据库..............................................................................................................53.3.1MYSQL简介......................................................................................................53.3.2SQL语句............................................................................................................63.3Tomcat服务器............................................................................................................63.4Eclipse开发工具简介..............................................................................................7第四章系统的功能需求和总体设计.......................................................................................84.1系统功能模块..............................................................................................................84.2数据库表设计..............................................................................................................94.2.1用户表...............................................................................................................94.2.2投票表...............................................................................................................94.2.3选项表.............................................................................................................104.2.4得票统计表.....................................................................................................104.3总体用例分析............................................................................................................114.4流程分析....................................................................................................................12目录

II第五章系统的详细设计.........................................................................................................145.1数据库与DbUtil类映射的实现.............................................................................145.2主要模块的设计说明与界面...................................................................................145.3系统的测试...............................................................................................................23结论.......................................................................................................................................25参考资料...................................................................................................................................26摘要

III摘要在互联网飞速发展的今天,仅仅依靠原始的人工收集数据,进行纸质化管理,企业收集信息部门面对大量的信息,在浪费了大量的人力、物力、时间,也无法准确、有效的从中取出关键信息,并做出相应的判断和处理,避免公司的危机和获取发展的机遇。同时,用户也没有一个相对方便、简单上述需求的途径。因此,如何有效收集信息和做出相应的判断和处理是当前急需的。随着科学技术的发展和不断进步,计算机的应用技术也日渐成熟,其强大的功能也深入人心,应用范围早已普及世界各地,并且在各个人们生活和发展的领域占有着必不可少的角色。在拥有先进的计算机技术和成熟的互联网时代下,逐步建立一个完善的、智能的、先进的投票系统。而编写一个在线投票系统,最关键的是可以根据用户的需求,快速、简单的创建一个投票的主题,设定投票的时间段,并实现从数据库中添加被选对象,发布到前台。也可对过期或错误的活动进行修改和删除,还能及时查看投票的进程和反馈的结果,满足用户的实时性查询。在登陆系统时,对用户的身份进行判定,每个账号都有不同的权限。普通账号只能对活动没有过期的活动进行投票和查看结果,而管理员账号不但可以进行投票和查看结果,而且还可以在后台对过期用户和活动进行处理。本次毕业设计的内容是设计并且实现一个基于Java-web的在线投票系统,系统将使用Eclipse来作为开发工具,而数据库则使用的是中小型数据库--MYSQL,以及用到了Dreamweaver作为界面开发工具。本次项目基本实现了网上在线投票系统应有的主要功能模块。关键词:在线投票系统JAVAMYSQLAbstractIVAbstractToday,therapiddevelopmentoftheInternet,relyingonlyontheoriginalmanualcollectionofdatatocarryoutpapermanagement,enterprisecollectioninformationdepartmentfacealargeamountofinformation,wastealotofmanpower,materialresources,time,andcannotaccuratelyandeffectivelyremovethekeyinformation,andmakethecorrespondingjudgmentandtreatmenttoavoidpublic.Thecrisisofthedivisionandtheopportunitytogaindevelopment.Atthesametime,usersdonothavearelativelyconvenientandsimplewaytomeettheaboveneeds.Therefore,howtoeffectivelycollectinformationandmakecorrespondingjudgmentsandtreatmentsisurgentlyneeded.Withthedevelopmentandcontinuousprogressofscienceandtechnology,theapplicationofcomputertechnologyisalsomature,itspowerfulfunctionisalsodeeplyrootedinthepeople'smind.Theapplicationscopehaslongbeenpopularizedallovertheworld,anditoccupiesanindispensableroleinthelifeanddevelopmentofthepeople.WithadvancedcomputertechnologyandmatureInternetera,wewillgraduallyestablishaperfect,intelligentandadvancedvotingsystem.Towriteanonlinevotingsystem,thekeyistocreateavotingtopicquicklyandsimplyaccordingtotheneedsoftheuser,setthetimeofthevote,andaddtheselectedobjectsfromthedatabaseandpublishittothefrontdesk.Itcanalsomodifyanddeletetheoverdueorerroneousactivities,andcanalsochecktheprocessofvotingandtheresultoffeedbackintimetosatisfytheuser'sandmeettheuser'sreal-timequery.Inlandingsystem,theuser'sidentityisdetermined,eachaccounthasdifferentpermissions.Ordinaryaccountscanonlyvoteandviewtheresultsofactivitiesthathavenotbeenoverdue,andtheadministrator'saccountcannotonlyvoteandviewtheresults,butalsohandletheoutdatedusersandactivitiesinthebackground.ThecontentofthisgraduationdesignistodesignandimplementanonlinevotingsystembasedonJava-web.ThesystemwilluseEclipseasadevelopment