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 / debapriya maity

Yeah we surely can provide instance variable,but ur servlet
implements MultithreadModel,its is not the right
approach,better use local varibles ,using SingleThreadModel
approach cause perfomance degradation

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a web application and what is it’s directory structure?

1081


What is life cycle of Servlet?

1075


What do you mean by chaining in servlet?

1039


What are the annotations used in servlet 3?

1040


What is the use of httpservletrequestwrapper?

1101


Why do we have servlet wrapper classes?

1071


What are Servlets?

1127


List out the difference between ServletConfig and ServletContext?

1046


What is session tracking?

1207


Explain the difference between servletconfig and servletcontext in servlet?

1043


What are different methods of session management in servlets?

1284


How will two or three servlets interact or communicate with each other?

1450


How do we call one servlet from another servlet?

1046


What is meant by session? Tell me something about httpsession class?

1031


what is multiple server?

2313