单项选择题

使用request对象进行转发时,使用的是()方法。

A.getRequestDispatcher()
B.forward()
C.sendRedirect()
D.setRequestDispatcher()