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 annotations used in servlet 3?
What are the types of protocols supported by httpservlet ?
How do you load an image in a Servlet?
How would you create deadlock on your servlet?
Can servlet have a constructor ?
What's the advantages using servlets than using cgi?
What is servlet used for?
What do you mean by request dispatcher in servlet?
What's the use of servletcontext?
What is called Session Tracking?
What is generic servlet class?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What do you mean by deployment descriptor?
What does the term localization refer to?
Write a command to get actual path of a servlet to the server?