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
How we can create war file in servlet?
How is an application exception handling is done using a servlet?
What is the default http method in the servlet?
What is difference between jsp and servlet?
What are the types of servlets? Explain
What is difference between get and post method?
What is Client-Server Computing?
What are the functions of an intercepting filter?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What are the ways to handle multi-threading in servlets?
How will two or three servlets interact or communicate with each other?
How do we share data using 'getservletcontext ()?
What is the need of servlet filters?
What is difference between cookies and httpsession?
Where do you define dispatcherservlet?