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...

can servlet have instance variables?

Answer Posted / neeraj

Ravikiran.chd

If we implement single thread model then how servlet will
handle multiple request at a time??

So its better to avoid the use of instance variable.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the lifecycle for executing a jsp page.

1080


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

1240


What is servlet instance?

1047


Why is a constructor needed in a servlet even if we use the init method?

1130


What's the advantages using servlets than using cgi?

998


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1055


What's the architecture of a servlet package?

1047


Difference between doget and dopost?

1165


Can we override servlet service method?

1091


Which interface should be implemented by all servlets?

1214


What are the two important api's in for servlets?

1079


What are life cycle methods of a servlet?

1053


Describe some assignments that are executed by servlet container?

1075


Explain the architechure of a servlet?

1112


What are the type of protocols used in httpservlet?

1079