How we can check in particular page the session will be
alive or not
Answer Posted / aseet padhi
U can use request.getSession(false); method in
HttpServletRequest interface.It returns the HttpSession
associated with this request or null if the request has no
valid session.
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What do you mean by url pattern in servlet?
What is difference between cookies and httpsession?
What's the architecture of a servlet package?
What is servlet and list its types?
What are the new features added to servlet 2.5?
Write all the phases defined in servlet life cycle?
How many servlet objects are created?
Explain the servlet filter.
How can we perform any action at the time of deploying the project?
What are the ways to handle multi-threading in servlets?
What is the difference between the include() and forward() methods?
What are the annotations used in servlet 3?
How does tomcat servlet container work?
Explain url encoding in servlet?
How servlet is created?