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

When we don't write any constructor for the servlet, how
does container create an instance of servlet?

Answer Posted / mahesh

Container creates instance of servlet by calling
Class.forName(className).newInstance().

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain load on start-up and its importance?

1191


Differentiate between the print writer and servlet output stream?

1038


how many jsp scripting elements are there and what are those?

1064


Can filter be used as request or response?

1012


Explain servlet life cycle?

1187


What is the difference between the http servlet and generic servlet?

1208


How is a servlet implemented in code?

1121


Is servlet synchronized?

1135


What is api in servlet?

1073


Who is responsible for writing a constructor?

1310


Explain their methods? Tell me their parameter names also have you used threads in servlet?

1096


What is Servlet API used for connecting database?

1142


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

1164


What is a servlet engine?

1098


What are its drawbacks of cgi?

1189