资源描述:
《Head First Servlet and JSP》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Chapter1.WhyuseServlets&JSPs?1introandoverviewWhyuseServlets&JSPs?Youfool!YoumustuseHah!IknowServletsandJSPs.IfyouCGI.MywebsitewillcontinuetowritePerlruletheworld.scripts,Iwilldestroyyou.Webapplicationsarehot.Sure,GUIapplicationsmightuseexoticSwingwidgets,buthowmanyGUIappsdoyo
2、uknowthatareusedbymillionsofusersworld-wide?Asawebappdeveloper,youcanfreeyourselffromthegripofdeploymentproblemsallstandaloneappshave,anddeliveryourapptoanyonewithabrowser.Buttobuildatrulypowerfulwebapp,youneedJava.Youneedservlets.YouneedJSPs.BecauseplainoldstaticHTMLpagesares
3、o,well,1999.Today¶susersexpectsitesthataredynamic,interactive,andcustom-tailored.Withinthesepagesyou¶lllearntomovefromwebsitetowebapp.thisisanewchapter1Chapter1.WhyuseServlets&JSPs?HeadFirstServletsandJSPByBertBates,KathySierra,BryanBashamISBN:0596005407Publisher:O'ReillyPrepa
4、redforStephenGoss,SafariID:stephengoss@gmx.netPrintPublicationDate:8/1/2004Usernumber:747221Copyright2006,SafariBooksOnline,LLC.ThisPDFisexclusivelyforyouruseinaccordancewiththeSafariTermsofService.Nopartofitmaybereproducedortransmittedinanyformbyanymeanswithoutthepriorwritten
5、permissionforreprintsandexcerptsfromthepublisher.RedistributionorotherusethatviolatesthefairusepriviledgeunderU.S.copyrightlaws(see17USC107)orthatotherwiseviolatestheSafariTermsofServiceisstrictlyprohibited.Chapter1.WhyuseServlets&JSPs?of¿cialSunexamobjectivesServlets&JSPoverv
6、iewCoverageNotes:CopyrightSafariBooksOnline#7472211.14ForeachoftheHTTPMethods(suchasGET,Qeb l_gb`qfsbp fk qefp pb`qflk ^ob `lsboba POST,HEAD,andsoon):`ljmibqbiv fk ^klqebo `e^mqbo) pl qefkh lc qefp `e^mqbo ^p ^ äopq*illh clrka^qflk clo *Describebene¿tsoftheHTTPMethodte^q `ljbp
7、 i^qbo+ Fk lqebo tloap) alk$q tloov ^_lrq äkfpefkd qefp `e^mqbo hkltfkd %^ka *DescribefunctionalityoftheHTTPMethodobjbj_bofkd&