performcouldalsobeaccomplishedbyservletsHoweverthisu
derlyi
gequivale
cedoes
otmea
thatservletsa
dJSPpagesareequallyappropriatei
allsce
ariosTheissueis
otthepowerofthetech
ologyitistheco
ve
ie
ceproductivitya
dmai
tai
abilityofo
eortheotherAfteralla
ythi
gyouca
doo
aparticularcomputerplatformi
theJavaprogrammi
gla
guageyoucouldalsodoi
assemblyla
guageButitstillmatterswhichyouchooseJSPprovidesthefollowi
gbe
efitsoverservletsalo
e1.Itiseasiertowritea
dmai
tai
theHTMLYourstaticcodeisordi
aryHTML
oextrabackslashes
odoublequotesa
d
olurki
gJavasy
tax2.Youca
usesta
dardWebsitedevelopme
ttoolsEve
HTMLtoolsthatk
ow
othi
gaboutJSPca
beusedbecausetheysimplyig
oretheJSPtags3.Youca
divideupyourdevelopme
tteamTheJavaprogrammersca
worko
thedy
amiccodeTheWebdevelopersca
co
ce
trateo
theprese
tatio
layerO
largeprojectsthisdivisio
isveryimporta
tDepe
di
go
thesizeofyourteama
dthecomplexityofyourprojectyouca
e
forceaweakerorstro
gerseparatio
betwee
thestaticHTMLa
dthedy
amicco
te
tNowthisdiscussio
is
ottosaythatyoushouldstopusi
gservletsa
duseo
lyJSPi
steadBy
omea
sAlmostallprojectswillusebothForsomerequestsi
yourprojectyouwilluseservletsForothersyouwilluseJSPForstillothersyouwillcombi
ethemwiththeMVCarchitectureYouwa
ttheappropriatetoolforthejoba
dservletsbythemselvesdo
otcompleteyourtoolkit
12SOURCEOFJSP
Thetech
iqueofJSPofthecompa
yofSu
maki
gthepageofWebdeveloptheperso
elca
usetheHTMLperhapsmarki
gofXMLtodesig
totur
thee
dpagewithformatUsetheperhapssmallscriptfuturelifeofmarki
gofJSPbecomesthedy
amicstateo
thepageco
te
tstheco
te
tscha
gesaccordi
gtotheclaimofTheJavaServletisatech
icalfou
datio
ofJSPa
dthelargeWebappliesthedevelopme
toftheprocedureto
eedtheJavaServlettomatchwithwiththeJSPa
dthe
ca
completethis
ameofServletcomesfromtheAppletthelocaltra
slatio
methodof
owisalotofthisbooki
ord
第
2
页共3页
f安徽工业大学毕业设计(外文翻译)
┊┊┊┊┊┊┊┊┊┊┊┊┊┊┊┊装┊┊┊┊┊订┊┊┊┊┊线┊┊┊┊┊┊┊┊┊┊┊┊┊┊┊┊┊er
ottomisco
structio
decidethedirectadoptio
Servletbutdo
tdoa
ytra
slatio
ifreaderwouldliketoca
callitas