欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Java认证考试 > SCWCD(310-083)

单项选择题

Given a Filter class definition with this method:
21.public void doFilter(ServletRequest request,
22.ServletResponse response,
23.FilterChain chain)
24.throws ServletException, IOException {
25.// insert code here
26.}
Which should you insert at line 25 to properly invoke the next filter in the chain, or the target servlet if thereare no more filters?()

    A.chain.forward(request, response);
    B.chain.doFilter(request, response);
    C.request.forward(request, response);
    D.request.doFilter(request, response);

点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题