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
How can I prevent the output of my jsp or servlet pages from being cached by the browser?
How do I run a jsp file in linux?
Can we write java code in jsp?
List down the major differences between the jsp custom tags and java beans.
Differentiate between include directive and include action.
Which tag is used to execute java source code in jsp?
What class.forname will do while loading drivers?
Can we override jsp service method?
What is the use of session management?
What are page directives?
What are the different life-cycle methods?
How many jsp implicit objects are there?
What is directive jsp?
What is jstl core tags?
Can a constructor be used in place of init() method to initialize a servlet?