How many ways are available to ger RequestDispatcher object?
Answer Posted / vijay
by two ways we can get the RequestDispatcher object.
1) by using ServletContext.getRequestDispatcher().
2)by using HttpServletRquest.getRequestDispatcher().this
method inherted from ServletRequest.
Is This Answer Correct ? | 24 Yes | 4 No |
Post New Answer View All Answers
What is cookie in servlet?
What is a cookie What is the difference between session and cookie
What is the GenericServlet class?
Why doesn’t a servlet include main()? How does it work?
What do you mean by mime type?
What is the purpose of requestdispatcher interface?
What do you mean by scope object and what are its types?
What is Servlets and explain the advantages of Servlet life cycle?
How can we perform any action at the time of deploying the project?
What is the major difference between context parameter and context attribute?
what is servlet chaining?
How do you configure a centralized error handler in servlets?
What if you need to span your transaction across multiple servlet invocations?
What do you mean by cgi in servlet?
What is servlet container?