Answer Posted / sanjay gajula
THERE IS A ELEMENT NAME CALLED "SESSION-TIMEOUT" IN THE
WEB.XML FILE OF APPLICATION SERVER USING THIS ELEMENT WE
CAN EXPLICITLY SET THE TIME FOR SESSION TO GET EXPIRED
EX;-
<SESSION-CONFIG>
<SESSION-TIMEOUT>30</SESSION-TIMEOUT>
</SESSION-CONFIG>
WE HAVE TO SET THIS IN THE WEB.XML FILE OF APPLICATION
SERVER[TOMCAT]
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is java ceil?
Is static variable stored in heap?
Can a class be private in java?
What is the importance of static variable?
Why java is made?
What are the different types of methodologies?
What is overriding in java?
What is the use of static class?
What is an off by one error in java?
What is the maximum length of a url?
What is a numeric format?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Can a class with private constructor be extended?
Name some OOPS Concepts in Java?
What is the difference between arraylist and hashset in java?