Which of the following is the correct way for a doPost() method of servlet A to call doPost() method of another servlet B?
1. use RequestDispatcher's forward() method
2. use RequestDispatcher's include() method
3. In servlet A's doPost() method create an instance of servlet B and call doPost() on it
This cannot be done
Back To Top