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

How is an application exception handling is done using a servlet?

994


What do you mean by cgi in servlet?

1062


What is dispatcher servlet?

1048


What are the important functions of filters?

1124


What is http servlet in java?

1050


What are the different types of servlets?

1000


How servlets are deployed in java?

1007


Describe in brief RequestDespatcher?

1120


What are the steps involved in placing a servlet within a package?

1066


What are the difference between session and cookies in servlet? Explain

1030


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2687


Why do we use sendredirect() method?

957


Which event is fired at the time of project deployment and undeployment?

1309


How do you configure a centralized error handler in servlets?

1092


What are different ways for authentication of servlet?

1065