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 the use of servlet wrapper classes?

1245


What do you mean by httpservlet?

1136


What are the different mode that servlets can be used?

1085


Which is better jsp or servlet?

1105


What is a generic servlet?

1007


What is life cycle of Servlet?

1130


How printwriter is different from servletoutputstream?

1069


Which interface should be implemented by all servlets?

1273


What do you understand by mime type?

1040


Explain the difference between servlet and cgi?

1220


Given the request path below, which are context path, servlet path and path info?

1101


What is the directory structure of a war file?

1218


What are the differences between the servletconfig interface and the servletcontext interface?

1259


What is difference between cookies and httpsession?

1158


What is the functionality of actionservlet and requestprocessor?

1146