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 are the steps that are required to handle the multi-threading?

1045


What is the inter-servlet communication?

1132


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

1050


How to rectify errors in java servlet while compilation?

890


Elucidate servlet attributes and its scope?

942


What are all the advantages of servlet over cgi?

1019


How is a servlet implemented in code?

1023


What is the difference between sendredirect() and forward() in a servlet?

957


Which java application server is the best?

981


What is the difference between genericservlet and httpservlet

1020


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

958


What is webservlet?

951


What is the advantage of Servlets when compared with other server side technologies?

2295


What is servlet container?

1070


How does java thread pool work?

1020