A.A
B.B
C.C
D.D
第1题
A.Awebapplicationmayoverridethewebcontainer’simplementationclasses
B.AwebapplicationrunninginaJ2EEproductmayoverrideclassesinthejavax.*namespace
C.AwebapplicationclassloadermayNOToverrideanyclassesinthejava.*andjavax.*namespace
D.ResourcesintheWARclassdirectoryorinanyoftheJARfileswithinthelibrarydirectorymaybeaccessedusingtheJ2SEsemanticsofgetResource
E.ResourcesintheWARclassdirectoryorinanyoftheJARfileswithinthelibrarydirectorycannotbeaccessedusingtheJ2SEsemanticsofgetResource
第2题
A.Theinitmethodonafilteriscalledthefirsttimeaservletmappedtothatfilterisinvoked
B.Afilterdefinedforaservletmustalwaysforwardcontroltothenextresourceinthefilterchain.
C.Filtersassociatedwithanamedservletareappliedintheordertheyappearinthewebapplicationdeploymentdescriptorfile
D.IftheinitmethodonafilterthrowsanUnavailableException,thenthecontainerwillmakenofurtherattempttoexecuteit
第3题
A.Theattributefooisplacedintheapplication
B.AServletContextListenerregisteredforthatservletisnotified
C.AServletAttributeListenerregisteredforthatservletisnotified
D.AnHttpSessionAttributeListenerregisteredforthatservletisnotified
第4题
A.Afiltermustimplementthedestroymethod
B.AfiltermustimplementthedoFiltermethod
C.Aservletmayhavemultiplefiltersassociatedwithit
D.Aservletthatistohaveafilterappliedtoitmustimplementthejavax.servlet.FilterChaininterface
E.AfilterthatispartofafilterchainpassescontroltothenextfilterinthechainbyinvokingthefilterChainforwardmethod
F.Foreach
第5题
inaweather.htmlpagethatisrewritteneveryfiveminutes.Whichline,appearingincurrent.jsp,ensuresthatthemostrecentversionofweather.htmlisincludedwhenevercurrent.jspisreferenced?()
A.
B.
C.
D.
E.
第6题
A.ThedevelopermustensurethateveryURLisproperlyencodedusingtheappropriateURLrewritingAPIs
B.ThedevelopermustprovideanalternatemechanismformanagingsessionsandabandontheHttpSessionmechanismentirely
C.Thedevelopercanignorethisissue.WebcontainersarerequiredtosupportautomaticURLrewritingwhencookiesarenotsupported
D.Thedevelopermustassthestring?id=
第7题
A.SetthebodycontenttypetoJSPintheTLD
B.ScriptletcodeisNOTlegalinthebodyofst:simple
C.Addscripting-enabled=“true”tothestarttagforthest:simpleelement
D.Addapass-throughClassictagwithabodycontenttypeofJSPtothebodyofst:simple,andplacethescriptletcodeinthebodyofthattag.
第8题
A.Itencapsulatescomponentlookupprocedures
B.Itincreasessourcecodeduplicationanddecreasesreuse
C.Itimprovesclientperformancebycachingcontextandfactoryobjects
D.Itdegradesnetworkperformanceduetoincreasedaccesstodistributedlookupservices
第9题
ereisalotofduplicatedcodetobuildtheJNDIcontextstoaccessthebeansandqueues.Further,becauseofthecomplexity,therearenumerouserrorsinthecode.WhichJ2EEdesignpatternprovidesasolutionforthisproblem?()
A.Command
B.Transferobject
C.Servicelocator
D.SessionFaçade
E.Businessdelegate
F.Dataaccessobject
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!