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
Describe servlet?
Describe some assignments that are executed by servlet container?
Define the life cycle of a servlets.
How do I use cookies to store session state on the client?
Which is better jsp or servlet?
Why HttpServlet class is declared abstract?
What is the process for chaining servlet?
Why do we need a constructor in a servlet if we use the init method?
How to rectify errors in java servlet while compilation?
How will two or three servlets interact or communicate with each other?
Can you create a deadlock condition on a servlet?
How to upload a file to the server using servlet?
How a servlet is unloaded?
How to find whether a parameter exists in the request object?
Who is responsible to create the object of servlet?