how do you maintain sessions in servlets?
Answer Posted / bibek
for mentaining session there are four ways
1 hidden field
2 url re-writting
3 coockis
4 session
Is This Answer Correct ? | 14 Yes | 5 No |
Post New Answer View All Answers
Is servlet thread safe?
What do you mean by chaining in servlet?
Is it possible to have a constructor inside the servlet?
How does tomcat servlet container work?
What is Client-Server Computing?
Which java application server is the best?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
How to read request headers from servlets?
What is the purpose of requestdispatcher interface?
Why doesn’t a servlet include main()? How does it work?
Why is servlet used?
What is the difference between portlet and servlet?
Why the concept of single thread model interface is used?
Explain the servlet filter.
Explain mvc pattern.