资源描述:
《jsp及其web技术外文资料翻译》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、外文资料翻译资料来源:www.InfoQ.com文章名:JSPAndWEBTechnology书刊名:《CommunicationsTechnology》作者:DamonHougland,AaronTavistock出版社:InfoQ,2010.3章节:Chapter3页码:P34~P45文章译名:JSP及其WEB技术姓名:学号:指导教师(职称):专业:计算机科学与技术(工程方向)班级:所在学院:计算机科学与工程学院外文原文:JSPandWEBtechnology1JSPIntroductionJSP(JavaServerPages)isaJava-basedscriptingtechnolo
2、gy.IsadvocatedbySunMicrosystemsInc.,togetherwithanumberofcompaniesinvolvedintheestablishmentofadynamicwebpagetechnologystandards.JSPtechnologyissomewhatsimilartoASPtechnology,ItisatraditionalHTMLpagefile(*.htm,*.html)toinsertJavaprogramsegment(Scriptlet)andJSPtag(tag),ToformtheJSPfile(*jsp).Webdevel
3、opmentwithJSPisacross-platformapplicationsthatcanrununderLinux,butalsoinotheroperatingsystems.IntheJSPofthemanyadvantages,oneofwhichisthatitwillbeHTMLencodedWebpagefromthebusinesslogicseparatedeffectively.JSPaccesswithreusablecomponents,suchasServlet,JavaBeanandJava-basedWebapplications.JSPalsosuppo
4、rtsdirectlyintheWebpageembeddedJavacode.JSPcanbeusedtwowaystoaccessdocuments:JSPdocumentssentbythebrowserrequest,therequestsenttotheServlet.JSPtechnologyusesJavaprogramminglanguage,XML-typetagsandscriptlets,tohaveapackagedealwiththelogicofdynamicpages.Pagetagsandscriptletscanalsoexistintheserveracce
5、sstotheresourcesoftheapplicationlogic.JSPlogicandWebpagedesignanddisplayisolatedandsupportreusablecomponent-baseddesign,Web-basedapplicationsmorequicklyandeasilydeveloped.TheWebserverwhenmeetsvisitstheJSPhomepagetherequest,firstcarriesoutsegment,willthencarryouttheresultcodetoreturntogetherwithJSPin
6、thedocumentHTMLforthecustomer.TheinsertionJavasegmentmayoperatethedatabase,againthedirectionalhomepageandsoon,realizesthefunctionwhichtheestablishmentdynamichomepageneeds.JSPandJavaServletarethesame,isintheserverendexecution,usuallyreturnstothisclientsideisaHTMLtext,thereforeclientside,solongashasth
7、ebrowsertobeabletoglanceover.TheJSPpageiscomposedoftheHTMLcodeandtheinsertingJavacode.TheserverinthepagebytheclientsidewasrequestedthatlaterwillcarryonprocessingtotheseJavacode,willthenproducetheHTMLp