Given an HttpSession session, a ServletRequest request, and a ServletContext context, which
retrieves a URL to /WEB-INF/myconfig.xml within a web application?
A.
session.getResource(“/WEB-INF/myconfig.xml”)
B.
request.getResource(“/WEB-INF/myconfig.xml”)
C.
context.getResource(“/WEB-INF/myconfig.xml”)
D.
getClass().getResource(“/WEB-INF/myconfig.xml”)
Explanation: