You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
A. Your filter class must implement an init method and a destroy method.
B. Your filter class must also implement javax.servlet.FilterChain.
C. When your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.
D. The method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.
E. Your filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.
查看答案
该试题由用户598****95提供
查看答案人数:18215
如遇到问题请
联系客服
正确答案
该试题由用户598****95提供
查看答案人数:18216
如遇到问题请联系客服