how do you maintain sessions in servlets?

Answers were Sorted based on User's Feedback



how do you maintain sessions in servlets?..

Answer / niranjanravi

servlet context

Is This Answer Correct ?    22 Yes 10 No

how do you maintain sessions in servlets?..

Answer / 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

how do you maintain sessions in servlets?..

Answer / reddy

Using Session Tracking

Is This Answer Correct ?    12 Yes 7 No

how do you maintain sessions in servlets?..

Answer / mahesh

to maintain sessions in servlets we can use another way that
is through........ RequestDispatcher

Is This Answer Correct ?    5 Yes 4 No

how do you maintain sessions in servlets?..

Answer / m.manikandan

Throw the HttpSession

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Servlets Interview Questions

What is the use of attribute in servlets?

1 Answers  


Which event is fired at the time of setting, getting or removing attribute from application scope?

1 Answers  


What is the difference between 2 types of servlets?

1 Answers  


What is a java servlet?

1 Answers  


How do you create connections for number of users, if you want to improve performance?

2 Answers  


What are the life-cycle methods for a servlet?

1 Answers  


How native code can be used in a servlet?

1 Answers   IBM, TCS,


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

0 Answers   CTS,


Explain servlet events?

1 Answers  


Why do you use session tracking in httpservlet?

1 Answers  


can we override service method in my servlet class..?? if yes or no why ??

7 Answers   IBM,


What is the need of servlet filters?

1 Answers  


Categories