Google News
logo
Java Servlets - Interview Questions
How would you call a servlet from another servlet?
You can use the RequestDispatcher forward() to forward the request processing to a different servlet. If you want to add another servlet output to a response, you can use the RequestDispatcher include() method.
Advertisement