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

what is a session object?

2 Answers  


Can we use the constructor, instead of init(), to initialize servlet?

0 Answers  


How will you pass values from HTML page to the servlet?

0 Answers  


How many objects of a servlet is created?

0 Answers  


What methods do we use in Servlet to Applet communication?

3 Answers   Infosys,






What is the type of method for sending request from http server?

0 Answers  


If servlet receives multiple requests, how many objects will it create?

0 Answers  


which method in doGet or doPost is use to send binary date to server

2 Answers   HCL,


How can we achieve transport layer security for our web application?

0 Answers  


What is the dispatcher servlet?

0 Answers  


What do you mean by httpservlet?

0 Answers  


What is the use of httpservletrequestwrapper and httpservletresponsewrapper?

0 Answers  


Categories