(Choose 1 answer)
Which of the statements regarding the following code are correct?
public void doPost(HttpServletRequest req, HttpServletResponse res)throws IOException, ServletException {
res.getWriter().print("Hello ");
RequestDispatcher rd = getServletContext().getRequestDispatcher("/test.jsp");
rd.include(req, res);
res.getWriter().print("World");
}
A. Only "Hello" will be a part of the output.
B. Only "World" will be a part of the output.
C. "Hello" and "World" both will be a part of the output.
D. Neither will be a part of the output.
31