试题详情
- 单项选择题 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);
- B
关注下方微信公众号,在线模考后查看
热门试题
- 关于ThreadLocal以下说法正确的
- 以下关于Java文件名的叙述,正确的有?
- 以下哪个不是Collection的子接口
- 哪些情况下线程会停止()
- Given a me
- 小明设计了如下的学籍管理系统:&ensp
- interface Alti
- Given that&ensp
- 程序: class&ens
- Which two̳
- Which the basi
- 移位和按位运算符有哪些作用?()
- 假设在目录myprj/src/schoo
- String a
- 3. string&ensp
- Which three&ens
- public static&
- java关于异常处理机制的叙述哪些正确(
- Java语言中表达式-12>>3Q
- For an H