Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 are the difference between session and cookies in servlet? Explain

0 Answers  


What is Server-Side Includes?

1 Answers   IBM, SAS,


What are all the ways for session tracking?

0 Answers  


Describe the phases of servlet lifecycle?

0 Answers  


What is servlet in simple terms?

0 Answers  


How many ways are available to ger RequestDispatcher object?

4 Answers   Polaris,


What are the steps involved in placing a servlet within a package?

0 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


What are the key methods that are involved in processing of http servlets?

0 Answers  


How variables can be accessed across the sessions?

3 Answers  


What is the difference between CGI and Servlet?

0 Answers  


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

0 Answers  


Categories