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 are the supporting protocol by HttpServlet ?
Whether we can get deadlock situation in servlets?
What are the phases of the servlet life cycle?
What is the difference between context parameter and context attribute?
How do you invoke a servelt?
What are the life cycle methods of a servlet?
What is preinitialization of a servlet?
Write all the phases defined in servlet life cycle?
How to rectify errors in java servlet while compilation?
Which event is fired at the time of project deployment and undeployment?
What do you mean by httpservlet and how it is different from the genericservlet?
Is tomcat a servlet container?
Which are the different ways you can communicate between servlets?
What is servlet and its use?
What is servlet invoker?