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

Can we define constructor in Servlet class?

Answer Posted / jayakrishna

init() is there what is the need of constructor.If is ther
who will call the constructor? servlet container will call
the init method

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whether thread can be used in servlets?

1159


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

941


How to rectify errors in java servlet while compilation?

893


How would you create deadlock on your servlet?

1108


What do you mean by httpservlet?

1001


What is servlet instance?

991


What is servlet mapping?

974


What do you mean by deployment descriptor?

963


What is http servlet? Explain with the help of an example.

1015


What are the uses of servlet and what is servlet chaining?

1047


Which method is called when reference variable is passed in system.net?

2344


What is servlet in simple terms?

970


Can we fetch the attributes related to a servlet on a different servlet?

1086


Explain is servlet mapping?

962


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

977