How do I set password expire time period?

Answer Posted / vikas

In web.xml file, mention session attribute after
servlet-mapping. like this:
<session-config>
<session-timeout>10</session-timeout> //10 mins
</session-config>

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I prevent the output of my jsp or servlet pages from being cached by the browser?

656


How do I run a jsp file in linux?

619


Can we write java code in jsp?

619


List down the major differences between the jsp custom tags and java beans.

552


Differentiate between include directive and include action.

579






Which tag is used to execute java source code in jsp?

954


What class.forname will do while loading drivers?

602


Can we override jsp service method?

580


What is the use of session management?

527


What are page directives?

613


What are the different life-cycle methods?

625


How many jsp implicit objects are there?

582


What is directive jsp?

526


What is jstl core tags?

575


Can a constructor be used in place of init() method to initialize a servlet?

574