单项选择题

Which is the correct web application deployment descriptor element for defining a servlet initialization parameter?()

A.A
B.B
C.C
D.D

<上一题 目录 下一题>
热门 试题

单项选择题
ServletAreceivesarequestthatitforwardstoservletBwithinanotherwebapplicationinthesamewebcontainer.ServletAneedstosharedatawithservletBandthatdatamustnotbevisibletootherservletsinA’swebapplication.InwhichobjectcanthedatathatAshareswithBbestored?()

A. HttpSession
B. ServletConfig
C. ServletContext
D. HttpServletRequest
E. HttpServletResponse

多项选择题
Forwhichthreeeventscanwebapplicationeventlistenersberegistered?()

A. when a session is created
B. after a servlet is destroyed
C. when a session has timed out
D. when a cookie has been created
E. when a servlet has forwarded a request
F. when a session attribute value is changed

相关试题
  • Which two produce the output one,...
  • Whichthe JSTLcodesnippetcanbeusedtoimpo...
  • AcustomJSPtagmustbeabletosupportanarbitr...
  • Whichthe twoarevalidandequivalent?()
  • A developer is designing a web app...