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
Difference between httpservlet and generic servlets?
Which method of the httpservletrequest object is used?
What if you need to span your transaction across multiple servlet invocations?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
How to generate the server side programming and the advantages of it over the other languages?
How do you invoke a servelt?
What methodology can be followed to store more number of objects in a remote server?
What is the disadvantage of cookies?
Can servlet have a constructor ?
Which event is fired at the time of setting, getting or removing attribute from application scope?
What is the dispatcher servlet?
What do you mean by the servlet chaining?
what is servlet chaining?
What are the types of servlets? Explain
What are the types of protocols supported by httpservlet ?