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
Explain the difference between jspwriter and servlet printwriter in jsp?
How do we prevent browser from caching output of my jsp pages?
Why are jsp pages the preferred api for creating a web-based client program?
Can jsp run without server?
What is the use of?
What is jsp scriptlet?
How can we handle the exceptions in jsp?
Is jsp compiled?
How we can disable session in jsp?
Define scriptlet, expression and declaration in jsp?
Explain implicit objects in jsp?
What jsp lifecycle methods can be overridden?
How can I override the jspinit() method within a jsp page?
What is jsp custom tag and what are it’s components?
How can you avoid scriptlet code in jsp?