Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()
- A、 HttpSession
- B、 ServletConfig
- C、 ServletContext
- D、 HttpServletRequest
- E、 HttpServletResponse
正确答案:D
答案解析:有
微信扫一扫手机做题