多项选择题
A. A filter must implement the destroy method
B. A filter must implement the doFilter method
C. A servlet may have multiple filters associated with it
D. A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface
E. A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
F. For each
多项选择题 Assume session is an HttpSession, and is not referenced anywhere else in ServletA. Which two changes, taken together, ensure that value is equal to “Hello” on line 23? ()
单项选择题 Given the HttpServlet code: getServletContext().setAttribute(“foo”, “value”); What is the result?()
单项选择题 Whichisthe true choiceaboutthewebcontainerrequestprocessingmodel()?