Multiple choice technology web technology

How to maintain session in servlet

  1. http session

  2. cookies

  3. URL rewriting, hiddenform fields

  4. httpsession,hiddenform fields,rewriting,cookies

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Servlet session management can be implemented through multiple mechanisms: HttpSession API, cookies, URL rewriting (for cookieless sessions), and hidden form fields. Option D correctly lists all these methods together, making it the most complete answer.