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

What are the types of Session Tracking ?

1127


Explain the jar and war files in servlet?

1083


How can we perform any action at the time of deploying the project?

1102


What is difference between PrintWriter and ServletOutputStream?

1280


What are the uses of servlet and what is servlet chaining?

1079


What are common tasks performed by Servlet Container?

1249


What is difference between GenericServlet and HttpServlet?

1134


What is the workflow of a servlet?

1163


What is Servlets and explain the advantages of Servlet life cycle?

1089


What is httpservlet and how it is different from genericservlet?

1080


What is difference between cookies and httpsession?

1074


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

1230


How a servlet is unloaded?

1072


Why is http protocol called as a stateless protocol?

1003


Can we get PrintWriter and ServletOutputStream both in a servlet?

1127