毕业设计论文
摘
要
随着我国互联网的迅猛发展,
JSP虚拟主机需求迫切。但我国现有JSP虚拟主机技术多是基于单一JSP容器实现,不同应用之间相互影响,安全性差,需要管理员手动配置,缺乏有效的管理平台。本文针对上述
问题,提出了基于多Tomcat实例的JSP虚拟主机实现技术,不同用户的应用运行在不同的JVM上,并通过security控制JSP应用的类使用、目录访问权限,以保障各用户之间互不影响;并开发出了一套完善的JSP虚拟主机
管理系统,使用户可即时开通、管理自己的主机信息、FTP帐户、数据库等,并能随时操作自己的Tomcat实例。
关键词:JSP;虚拟主机;主机管理;Tomcat;安全性
1
毕业设计论文
ABSTRACT
WiththerapiddevelopmentofInternetinChina,theneedsofJSPWebHostingimprovesfasttoo.However,ourexistingJSPvirtualhosttechnologyisyetbasedonsingleJSPcontainer,differenthostshaveanimpacttoeachother,poorsecurity,needtheadministratortoconfigureandmonitormanually,andlackofaneffectivemanagementplatform.Inthispaper,tosolveabove-mentionedproblems,annewJSPvirtualhosttechnologybasedonmultiTomcatinstancesisputforward.Underthistechnology,applicationsofdifferentusersrunondifferentJVM,andtheper
missionsofclasses
access,directoryaccess,networkaccess,etc.,ofJSPapplications,arecontrolledthroughsecurity,whatmakeuserscannotbeaffectedbyeachother;AndacomprehensivemanagementsystemisdevelopedtomanageallJSPvirtualhosting,whatenablesuserstogetormanagetheirownhostinformation,FTPaccounts,databases,etc.,andcanoperatetheirownTomcatinstanceonline.
Key
words:JSP;virtualhost;hostmanagement;Tomcat;security:
2
毕业设计论文
目
录
1JSP及虚拟主机概论.....................................................................1
1.1JSP概述..............................................................................................71.1.1什么是
Java和JSP.......................................................................71.1.2JSP相对于其它动态语言的特性.................................................81.2虚拟主机概述..................................................................................101.2.1虚拟主机技术..............................................................................101.2.2虚拟主机管理系统......................................................................11