单项选择题

J2EE中()类()方法用于返回应用程序的上下文路径。

A.HttpServletRequest、getContextPath()
B.HttpServletRequset、getPathInfo()
C.ServletContext、getContextPath()
D.ServletContext、getPathInfo()