题目内容
(请给出正确答案)
[单选题]
GivenaFilterclassdefinitionwiththismethod:21.publicvoiddoFilter(ServletRequestrequest,22.ServletResponseresponse,23.FilterChainchain)24.throwsServletException,IOException{25.//insertcodehere26.}Whichshouldyouinsertatline25toproperlyinvokethenextfilterinthechain,orthetargetservletiftherearenomorefilters?()
A.chain.forward(request,response);
B.chain.doFilter(request,response);
C.request.forward(request,response);
D.request.doFilter(request,response);
如搜索结果不匹配,请 联系老师 获取答案