IntroductionofJSPTechnologyJavaServerPagesTM(jsp(SUNenterpriseapplicationofchoice))technologyforthecreationofdisplaycontentdynamicallygeneratedWebpageprovidesasimpleandrapidmethod.jsp(SUNenterpriseapplicationofchoice)technologyisdesignedtoenablestructure-basedWebapplicationsmoreeasilyandfaster,andcantheseapplicationswithavarietyofWebservers,applicationservers,browsers,anddevelopmenttoolstoworktogether.Hereprovidesajsp(SUNenterpriseapplicationofchoice)technologyoverview,describesthebackgroundofitsdevelopment,aswellastheoverallobjectiveofthistechnology.Atthesametime,asimpleexample,alsodescribesaJavaTMtechnology-basedkeycomponentofthepage.WebapplicationdevelopmentofJavaServerPagestechnologyWaysInthedevelopmentofjsp(SUNenterpriseapplicationofchoice)specificationprocess,SunMicrosystems(SunMicrosystemsInc.)AndmanymajorWebservers,applicationserversanddevelopmenttoolsproviders,aswellasavarietyofexperienceddevelopmentgroupstocooperate.Theresultisfoundapageforapplicationsanddeveloperstobalancetheportabilityandeaseofuseofdevelopmentmethodologies.WillgenerateanddisplaythecontentsoftheseparationUsingjsptechnology,WebpagedeveloperscanuseHTMLorxmllogotodesignandformattingthefinalpage.Jsplogoortheuseofboundfeetwouldhavetogeneratedynamiccontentonthepage.Thelogic-generatedcontenthasbeenpackagedinalogoandJavaBeanscomponentsandtiedupinasmallscript,allthescriptsintheserver-siderun.IfthecorelogicwasencapsulatedinthelogoandBeans,thenotherpeople,suchasmanagementandWebpagedesigners,caneditandusejsppages,withoutaffectingthegenerationofcontent.Theserverside,jspengineexplainedjsplogoandsmallscripttogeneratetherequestedcontent(forexample,byaccessingJavaBeanscomponents,theuseoftechnologyJDBCTMaccessthedatabase,orincludefile),andtheresultstoHTML(orxml)pageoftheformsentbacktothebrowser.Thishelpstheauthortoprotecttheircode,andensurethatanyHTML-basedWebbrowsercompletelyavailability.EmphasisonreusablecomponentsJsppagereliesonthevastmajorityofreusable,cross-platformcomponents(JavaBeansorEnterpriseJavaBeansTMcomponents)toimplementtherequirementsofapplicationsmorecomplextreatment.Developerstobeabletoshareandexchangecomponentstoperformcommonoperations,ormakethesecomponentsmoreuserorclientgroupstouse.Component-basedapproachtoacceleratetheoveralldevelopmentprocess,andmakeavarietyoforganizationsintheirexistingskillsandtooptimizetheresultsofdevelopmenteffortsinthebalance.UsedtosimplifypagedevelopmentlogoWebpagedevelopersarenotfamiliarwiththescriptinglanguageoftheprogrammer.JavaServerPagetechnologypackagesanumberoffunctions,whichareinusewiththejsp-relatedxmllogoindynamiccontentgenerationneeds.JsplogostandardscanaccessandinstantiateJavaBeanscomponents,setorretrievecomponentsofproperty,downloadApplet,andimplementationbyothermeansmoredifficulttoencodeandtime-consumingfunction.Throughthedevelopmentofcustomizedlogoslibrary,jsptechnologycanbeextended.Infuture,third-partydevelopersandotherpersonnelforcommonlyusedfeaturestocreateyourown2logolibrary.ThisallowsWebpagedeveloperscanusefamiliartoolsandthesamelogoastheimplementationofspecificfunctionsofcomponentstowork.jsptechnologyeasilyintegratedintoavarietyofapplicationsarchitecture,totakeadvantageofexistingtoolsandtechniques,andexpandedtobeabletosupportenterprise-classdistributedapplications.TheuseofJavatechnologyaspartofthefamily,aswellastheJava2(EnterpriseArchitecture)isanintegralpartof,jsptechnologycansupportthehighlycomplexWeb-basedapplications.Jsppagebecauseofthebuilt-scriptinglanguageisbasedontheJavaprogramminglanguage,andallthejsppagesarecompiledtobecomeJavaServlet,jsppageonwithallthebenefitsofJavatechnology,includingrobuststoragemanagementandsecurity.AspartofJavaPlatform,jsphasaJavaprogramminglanguage,writeonce,runeverywherecharacteristics.Asmoreandmoresupplierswillbeaddedtojspsupporttheirproducts,youcanuseyourownchoiceofserverandtools,changetools,ortheserverdoesnotaffectthecurrentapplication.WhenusedwithJava2Platform,EnterpriseEdition(J2EE)andEnterpriseJavaBeantechnologyintegration,jsppagewillprovideenterprise-classscalabilityandperformance,whichisessentialforthedeploymentofvirtualenterpriseWeb-basedapplicationsisessential.jspinstructionsjsppageusingjspdirectinstructiondeliveredtothejspengine.Thisincludes:jsppagedirectivesrelatedtoinformationtransmissionpage,suchasbufferandthreadinformationorwrongtreatment.Languageinstructionsspecifiedscriptinglanguage,aswellasalltheexpansion.Containsinstructions(intheaboveexampleshaveshown)canbeusedinthepagethatcontainsanexternaldocument.Agoodexampleisthecopyrightorcompanyinformationdocumentsdocuments-inacentralizedlocationtopreservethedocumentandthepagecontainsmorethaninalljsppageshouldbeeasiertoupdate.Ofcourse,beingcontainedinadocumentmayalsobeanotherjspfile.Logolibraryinstructionspointedoutthatthepagecancallaclientlogolibrary.jsplogoWilldealwiththeoverwhelmingmajorityofjspandjsprelatedxmlbasedonthecompletionofthelogo.jsp1.0containssubstantialstandardlogo,whichidentifiesasacoreidentity,including:jsp:useBeanstatementoftheidentityofacomponentinstanceoftheuseofJavaBea