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
How to upload a file to the server using servlet?
What is servlet and its advantages?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is servlet in tomcat?
What is life cycle of Servlet?
How can an existing session be invalidated?
What is difference between GenericServlet and HttpServlet?
When servlet object is created?
What is the servletconfig object?
What are important features of Servlet 3?
Why session tracking is needed?
What is a cookie What is the difference between session and cookie
Is it possible to have a constructor inside the servlet?
What do you mean by chaining in servlet?
What are the ways to handle multi-threading in servlets?