Answer Posted / madhuri
There are three ways ...
1)call setMaxInnactiveInterval()
we cal call the above mtd in two ways,i.e Programatically
Declaratively
Declaratively means through WEB.XML,by using session-timeout
we can close the session.
2)using session.Invalidate()
3)logout the session
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is incompatible types in java?
When is the arraystoreexception thrown?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is the use of predicate in java 8?
Which is fastest collection in java?
How many bytes are there?
How objects of a class are created if no constructor is defined in the class?
What is set string?
what is server side caching?
Write a java program to generate fibonacci series ?
What is nullpointerexception?
What's the default access specifier for variables and methods of a class?
What is bifunction in java?
What is a variable in java?
What does I ++ mean?