if we know the any consultancies, it will place in company
work through consultancy(contract base). please help me I'm
2008 pass out java candidate...



if we know the any consultancies, it will place in company work through consultancy(contract base)...

Answer / venkat

Hi friend ,

if u use getSession(true),first the container checks the
session is avilable or not.if it exists,it uses that session
and returns that session,otherwise it creates new session

but in case of getSession(false),if the session exists for
the user,it uses that session otherwise it returns null

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Servlets Interview Questions

Which event is fired at the time of project deployment and undeployment?

0 Answers  


How to run a servlet program?

7 Answers   Infosys,


Why is Servlet so popular?

0 Answers  


Which http method is said to be non-idempotent and idempotent?

0 Answers  


What do you mean by annotations in servlet?

0 Answers  






Explain how to improve Servlet Performance?

0 Answers   BirlaSoft,


What methods do you use in servlet - applet communication?

0 Answers  


What are the different methods of session management in servlets?

0 Answers  


What are the security issues in Servlets?

2 Answers  


Define declaration.

0 Answers  


How can you start a jta transaction from a servlet deployed on jboss?

0 Answers  


What is called servlet container?

0 Answers  


Categories