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


Please Help Members By Posting Answers For Below Questions

Is servlet thread safe?

527


What do you mean by chaining in servlet?

576


Is it possible to have a constructor inside the servlet?

554


How does tomcat servlet container work?

594


What is Client-Server Computing?

1899






Which java application server is the best?

554


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

649


How to read request headers from servlets?

568


What is the purpose of requestdispatcher interface?

616


Why doesn’t a servlet include main()? How does it work?

633


Why is servlet used?

686


What is the difference between portlet and servlet?

514


Why the concept of single thread model interface is used?

556


Explain the servlet filter.

542


Explain mvc pattern.

594