JSP技术 ---外文文献Word格式文档下载.docx
《JSP技术 ---外文文献Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《JSP技术 ---外文文献Word格式文档下载.docx(8页珍藏版)》请在冰豆网上搜索。
![JSP技术 ---外文文献Word格式文档下载.docx](https://file1.bdocx.com/fileroot1/2022-10/5/6e9a9494-4ba4-4081-817c-ae9449da9fae/6e9a9494-4ba4-4081-817c-ae9449da9fae1.gif)
JSPprofile
JSP(JavaServerPages)isinitiatedbySunMicrosystems,Inc.,withmanycompaniestoparticipateintheestablishmentofadynamicwebpagetechnicalstandards.JSPtechnologysomewhatsimilartoASPtechnology,itisinthetraditionalHTMLwebpagedocument(*・htm,*.html)toinserttheJavaprogrammingparagraph(Scriptiet)andJSPtag(tag),thusJSPdocuments(*.jsp).UsingJSPdevelopmentoftheWebapplicationiscrossthatcanrunonLinux,isalsoavailableforotheroperatingsystems.
JSPtechnologytousetheJavaprogramminglanguagepreparedbythecategoryofXMLtagsandscriptlets,toproducedynamicpagespackageprocessinglogic.Pagealsovisitbytagsandsciptletsexistintheservicessideoftheresourcesoflogic.JSPpagelogicandwebpagedesignanddisplayseparation,supportreusablecomponent-baseddesign,Web-basedapplicationdevelopmentisrapidandeasy.
WebserverinthefaceofvisitsJSPpagerequest,thefirstinpiementationoftheproceduresof,andthentogetherwiththeresultsoftheimplementationofJSPdocumentsinHTMLcodewiththereturntothecustomer.InserttheJavaprogrammingoperationofthedatabasecanbereorientedwebsites,inordertoachievetheestablishmentofdynamicpagesneededtofunction.JSPandJavaServlet,isintheimplementationoftheserver,usuallyreturnedtotheclientisanHTMLtext,aslongastheclientbrowserwillbeabletovisit.
JSP1.0specificationofthefinalversionislaunchedinSeptember1999,Decemberhasintroduced1.1specifications.AtpresentrelativelynewisJSP1.2norms,JSP2.0normsofthedrafthasalsobeenintroduced.JSPpagesfromHTMLcodeandJavacodeembeddedinoneoftheconq)onents.
JSscriptlanguagesynopsis
JSisjavascrip,JavascriptisonekindthesciptlanguagewhichcomesbytheNetscapeLiveScrq)tdevelopment,themainpurposeistosolvetheserverterminallanguage,forinstancePerl,carry-overspeedquestion.Atthattimeservedtheendtoneedtocarryontheconfirmationtothedata,becausethenetworkspeedwasquiteslow,onlythen28.8kbps?
theconfirmationstepwaste'
stimeweretoomany.ThereforeNetscapebrowserNavigatorhasjoinedJavascipt,hasprovidedthedataconfirmationbasicfunction.
TheJavaScriptofficialnameis"
ECMAScript"
.ThisstandardbyECMAorganizationdevelopmentandmaintenance.ECMA262istheofficialJavaSciptstandard.ThisstandardbasedonJavaScript(Netscape)andJScipt(Microsoft).Netscape(Navigator2.0)BrendanEichhasinventedthislanguage,startedfrom1996,alreadyappearedinallNetscapeandintheMicrosoftbrowser.TheECMA262developmentbeganin1996,in1997July,theECMAgeneralmeetinghasaccq)teditsfirstedition.
Thesciptusesonespecificdescriptivelanguage,restsoncertainformcompilationtobepossibletheexecutiondocument,isalsocalledasgreatorthebatchrundocument.Thesciptusuallymaytransfertemporarilybytheapplicationprocedureandcarryout.Eachkindofsciptpresentwidelyisappliedinthehomepagedesign,becausethesciptnotonlymayreducethehomepagethescaleandraisesthehomepagebrowsingspeed,moreovermayenrichthehomepageperformance,likeanimation,soundandsoon.Citesamostcommonexample,whenweclickinthehomepagetheEmailaddresscantransferOutlookExpressortheFoxmailthiskindofmailsoftwareautomatically,isrealizesthroughthesciptfunction.Alsobecauseofscriptthesecharacteristics,thehumanwhoharborsulteriormotivesbysomeareoftenusing.Forexamplejoinssomedestructioncomputersystem'
sorderinthescript,likethisworksastheuserbrowsinghomepage,oncetransfersthiskindofscript,willthencausetheuserthesystemtocomeundertheattack.Thereforetheusershouldactaccordingtovisitshomepagethetrustdegreeselectivesecurityrank,speciallyregardingtheseitselfcontentontheillegalhomepage,donotpermittheusescripteasily.Through"
thesafeestablishment95thedialogbox,thechoice"
thescript”imderoptioneachkindofestablishmentmaywitheaserealizetosciptbeingforbidandbeginsusing.
JSPandServlets
ThetechnologyofJSPandServletisthemostimportanttechnologywhichuseJava
technologytoexploitrequestofserver,anditisalsothestandardwhichexploitbusinessapplication.Javadevelopersprefertouseitforavarietyofreasons,oneofwhichisalreadyfamiliarwiththeJavalanguageforthedevelopmentofthistechnologyareeasytolearnJavatotheotherisnapreparation,runeverywhere"
tobringtheconceptofWebapplications,Toachievea“one-preparedeverywhererealized.nAndmoreimportantly,iffollowedsomeoftheprinc»
lesofgooddesign,itcanbesaidofsq)aratingandcontenttocreatehigh-quality,reusable,easytomaintainandmodifytheapplication.Forexanple,i