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?

Answers were Sorted based on User's Feedback



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

Answer / mahesh

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

Is This Answer Correct ?    15 Yes 0 No

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

Answer / sk.jani

In the Servlet if we are not using any constructor
internally the compiler create the default Constructor.if u
want to see that default Constructor user this folling
command.

javap classname.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Servlets Interview Questions

how to pass parameter from servlet to html form

4 Answers  


i have class files in class folder. but i have no java files. but i want to modify the java files which are related to class files . how ?

5 Answers   TCS,


Why are servlets used?

0 Answers  


What is HTTP Tunneling?

1 Answers   Wipro,


Can we write a constructor for a Servlet class ? if yes how ? if no why not ?

10 Answers  


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

0 Answers  


How the JSP file will be executed on the Server side?

0 Answers   Cap Gemini,


how a user session can be tracked in servlets?

1 Answers  


In servlets, Why do we need both GET and POST method implementations?

3 Answers   IBM,


Explain in brief the directory structure of a web application?

0 Answers  


Define the lifecycle for executing a jsp page.

0 Answers  


What happens, when client requests for server object, which is not yet loaded into the memory?

2 Answers  


Categories