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

Which method the Servlet container call to create the
instance of the servlet?

Answer Posted / ravikiran(aptech mumbai)

After The successfull parsing of web.xml container will find
the particular class name which is mapped in web.xml and calls
class.forName(classname).newInstance() method.Then calls
init(ServletConfig config) of GenericServlet for
initializing the instance of the servlet.

Is This Answer Correct ?    35 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is called a session?

1224


What is servlet collaboration?

1189


What is servlet api used for conneting database?

1275


What is context in servlet?

1091


If some new data has entered the database, explain how can a servlet refresh automatically?

1349


What is a servlet engine?

1094


What is the life-cycle of servlets?

1182


What is meant by servlet? What are the parameters of the service method?

1084


What are the advantages of servlets over traditional cgi?

1145


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

1126


Explain the role of dispatcherservlet and contextloaderlistener.

1251


Explain get and post.

1160


What is the use of java servlet api?

1086


What are the types of Session Tracking ?

1207


What is the difference between portlet and servlet?

1036