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 is the use of java servlet api?
Explain the servlet context.
How do you configure a centralized error handler in servlets?
Which is better jsp or servlet?
What’s the difference between forward() and sendredirect() methods?
Why do we use sendredirect() method?
What methodology can be followed to store more number of objects in a remote server?
Write a program to show the functionality of servlets.
What is cgi and what are its drawbacks?
What is the use of servlet context?
How do servlets work?
What is the
Which method is called when reference variable is passed in system.net?
Write the code to get the server information in servlet.
What is the structure of the http response