- 8
- 0
- 约7千字
- 约 12页
- 2024-01-10 发布于河南
- 举报
商城购物系统设计中英文对照外文翻译文
献
Abstract:Servletprogramsrunontheserverside,___CGI-
liketechnologies,JavaServlethashigherefficiency,easiertouse,
morepowerfulns,betterportability,andmorecostsavings.
Keywords:___,Servlet,HTTPservice
1.1nofServlet
ServletsareJavaprogramsthatrunonwebornservers.Itisa
middlewarethatconnectsrequestsfromwebbrowsersorother
HTTPclientprogramsanddatabasesornsonHTTPservers.The
workoftheservletistoperformthetasksoftheSimeon,asshown
inFigure1.1.
Figure1.1Theroleofwebmiddleware
(1)Readexplicitdata___
___byendusersinHTMLformsonthepage.However,data
mayalsocomefromappletsorcustomHTTPclientprograms.(2)
Readimplicitrequestdatasentbythebrowser
Figure1.1showsasinglearrowfromtheclienttotheweb
server,butinfact,therearetwotypesofdatatransmittedfromthe
clienttothewebserver,whichareexplicitdataenteredbytheuser
intheformandbackgroundHTTPn.Bothtypesofdataare
important.HTTPnincludescookies,mediatypesrecognizedby
browsers,___.
(3)Generateresults
Thisprocessmayrequireaccessingadatabase,performing
RMIorEJBcalls,callingwebservices,ordirectlycalculatingthe
correspondingresponse.Theactualdatamaybestoredinanal
database.ThedatabasemaynotunderstandHTTPormaynotbe
abletoreturnresultsinHTMLform,sowebbrowsers___withthe
database.Evenifitcandothis,forsecurityreasons,wedonot
wantittodoso.Similar___,weneedthewebmiddlewareto
extractinputdatafromtheHTTPstream,communicatewiththen,
andembedtheresultsintothedocument.
(4)___)tousers
Thisdocumentcanbesentinusformats,includingtext
(HTMLorXML),binary(GIFgraphics),___underlyingformats,
suchasgzip.However,HTMListhemos
原创力文档

文档评论(0)