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
Give uses of object cloning?
Can we write java code in jsp?
What jsp lifecycle methods can I override?
What is session setattribute?
Which of the following action variable is used to include a file in jsp?
What is el in jsp?
write a program in javasacript to shake the window
Explain JSP directives.
What is a session in web?
Can you use javascript in jsp?
What is difference between javascript and jsp?
Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?
How can we handle exceptions thrown by jsp service method?
Which jsp methods can be overridden?
How can automatic creation of session be prevented in a jsp page?