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

What is pure servlet?

1212


How we can call a jsp from the servlet?

1011


What do you mean by deployment descriptor?

1060


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1105


Explain the difference between a web server and a web container?

1010


What is dispatcher servlet?

1065


Why is Servlet so popular?

1074


Why jsp is better than servlet?

1035


What exception should be thrown when servlet is not properly initialized?

1013


Which is better jsp or servlet?

1057


How do we go with database connection and log4j integration in servlet?

1175


How a servlet is unloaded?

1091


Differentiate between the web server and application server?

1064


What if we pass negative value in load-on-startup?

1284


In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify

1008