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
Tell us something about servletcontext interface.
How we can create war file in servlet?
Write a servlet to upload file on server.
What is called a session?
What's the use of servletcontext?
What is difference between jsp and servlet?
Explain url encoding in servlet?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is the difference between get and post methods?
What is ServletContext object?
How can you push data from an Applet to a Servlet?
What is the inter-servlet communication?
What is the disadvantage of cookies?
How do we share data using 'getservletcontext ()?
What do you mean by default initialization in java servlet?