1st question: Which scope object to be used if:
- You wish to maintain the user profile that the customer needs to enter in multiple pages.
- You wish to validate the user id and password entered by user suing another servlet but in the same web application.
2nd question: The RequestDispatcher object has two methods, include() and forward(). What is the difference?
3rd question: Servlet uses a javax.servlet.http.HttpServletResponse object. How do you use it to return Text data and Binary data?