how session will be expired ?

Answer Posted / dsr

we can write the code in web.xml.
<session-timeout>2000</session-timeout>
or
to kill the perticular session.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain tree set and its features?

800


Explain what are final variable in java?

784


Explain wait() method of object class ?

859


What is a stringbuilder?

699


What is a hashmap used for?

883


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2567


What are the basic concepts of OOPS in java?

748


How to change value in arraylist java?

731


What is the purpose class.forname method?

743


What is assembly used for?

758


How do you use spaces in java?

722


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

797


If system.exit (0); is written at the end of the try block, will the finally block still execute?

815


Can we define a package statement after the import statement in java?

817


Is java a virus?

717