Which of the following is an example of dynamic inclusion?

  1. getRequestDispatcher("[www.google.com").forward(req,resp](http://www.google.com").forward(req,resp));

  2. getRequestDispatcher("[www.google.com").include(req,resp](http://www.google.com").include(req,resp));

  3. resp.include(req,resp);

  4. resp.forward(req,resp)


Correct Option: B

Find more quizzes: