Servlets%20Interview%20Questions%20and%20Answers
Question: What are the different ways we can maintain state between requests?Answer: Following are the different ways of maintaining state’s between stateless requests:->> URL rewriting >> Cookies >> Hidden fields >> Sessions |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Servlet?
- Why is Servlet so popular?
- What is servlet container?
- When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
- If a servlet is not properly initialized, what exception may be thrown?