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 advantages of servlets over traditional cgi?

1076


What is called a session?

1152


What is servlet attributes and their scope?

1043


What is Request Dispatcher?

1414


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2765


What is the difference between using getSession(true) and getSession(false) methods?

1023


What do you mean by httpservlet?

1048


How forward () method is different from send redirect () method?

952


What do you mean by cgi and what are its drawbacks?

964


How can an existing session be invalidated?

1146


What is servlet container. how it works?

1122


What are the advantages of cookies?

1109


Explain the lifecycle of a servlet?

949


What is servlet in simple terms?

1004


Is servlet a controller?

994