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 an interoperable application in java ?
What is meant by local variable and instance variable?
what is the purpose of "virtual"?
How we can execute any code even before main method?
can rmi and corba based applications interact ?
What is the point of polymorphism java?
Write a program to print fibonacci series
Can we use catch statement for checked exceptions?
what is aggregation in java?
Is Java a dying language?
Can we define private and protected modifiers for the members in interfaces?
What are the different tags provided in jstl?
How do you reverse a string in java?
Is 0 true or false in java?
Why is method overloading not possible by changing the return type in java?