What is the use of RequestDispatcher in servlet?
Answer Posted / codventure
RequestDispatcher defines an object that receives the
request from client and sends them to any resources on the
server.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
What are the types of servlets? Explain
Are Servlets Thread Safe? How to achieve thread safety in servlets?
How do you design microservices?
What is api in servlet?
What is servlet instance?
How do we translate jsp?
What is the difference between encodeRedirectUrl and encodeURL?
How do you deal property files in servlet?
What is lazy loading and what is Generic Servlet Class?
What do you mean by session tracking and also explain its techniques?
What is the process to implement doget and dopost methods?
What is the difference between sendredirect() and forward() in a servlet?
How the JSP file will be executed on the Server side?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Can we use the constructor, instead of init(), to initialize servlet?