difference between request.getSession(false) or
request.getSession() and request.getSession(true)
Answers were Sorted based on User's Feedback
Answer / msreekanth2004
request.getSession(true) or request.getSession():
If session is present it returns that session. Otherwise
it'll create a new session and return that.
request.getSession(false):
If session is present it returns that session. Otherwise it
return "null"
Is This Answer Correct ? | 45 Yes | 2 No |
difference between forward and sendredirect
Which HTTP method is non-idempotent?
What is the advantage of Servlets when compared with other server side technologies?
can anybody send me j2ee softwares such as tomcat,weblogic server ,netbeans
how many jsp scripting elements are there and what are those?
waht is the main diference b/w servelts and JSP ?
Can we override destroy method in servlet?
How we can check in particular page the session will be alive or not
What are the methods in HttpSession and their use?
Is there any differance b/w getting servlet context from servlet config and session? if yes then what is that?
What are the different methods involved in the process of session management in servlets?
What do you mean by chaining in servlet?