网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

Giventhewebapplicationdeploymentdescriptorelements:11.<filter>12.<filter-name>ParamAdder</filter-name>13.<filter-class>com.example.ParamAdder</filter-class>14.</filter>...24.<filter-mapping>25.<filter-name>ParamAdder</filter-name>26.<servlet-name>MyServlet</servlet-name>27.<!--insertelementhere-->28.</filter-mapping>Whichelement,insertedatline27,causestheParamAdderfiltertobeappliedwhenMyServletisinvokedbyanotherservletusingtheRequestDispatcher.includemethod?()

A.<include/>

B.<dispatcher>INCLUDE</dispatcher>

C.<dispatcher>include</dispatcher>

D.<filter-condition>INCLUDE</filter-condition>

E.<filter-condition>include</filter-condition>


参考答案

更多 “ Giventhewebapplicationdeploymentdescriptorelements:11.filter12.filter-nameParamAdder/filter-name13.filter-classcom.example.ParamAdder/filter-class14./filter...24.filter-mapping25.filter-nameParamAdder/filter-name26.servlet-nameMyServlet/servlet-name27.!--insertelementhere--28./filter-mappingWhichelement,insertedatline27,causestheParamAdderfiltertobeappliedwhenMyServletisinvokedbyanotherservletusingtheRequestDispatcher.includemethod?()A.include/B.dispatcherINCLUDE/dispatcherC.dispatcherinclude/dispatcherD.filter-conditionINCLUDE/filter-conditionE.filter-conditioninclude/filter-condition ” 相关考题
考题 ClicktheExhibitbutton.Giventhewebapplicationdeploymentdescriptorelements:11.12.ParamAdder13.com.example.ParamAdder14....31.32.ParamAdder33.Destination34....55.56.Destination57./dest/Destination58.WhatistheresultofaclientrequestoftheSourceservletwithnoquerystring?()A.TheoutputfilterAdded=nulliswrittentotheresponsestream.B.TheoutputfilterAdded=addedByFilteriswrittentotheresponsestream.C.AnexceptionisthrownatruntimewithintheservicemethodoftheSourceservlet.D.AnexceptionisthrownatruntimewithintheservicemethodoftheDestinationservlet.