A web application requires users to log in for access. Which servlet feature should be implemented for this requirement?

  • Filter
  • HttpSession
  • RequestDispatcher
  • ServletContext
The HttpSession feature in servlets is commonly used for session management, allowing the tracking and management of user sessions, which is essential for implementing user logins in web applications.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *