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 write a constructor for a Servlet class ? if yes how ?
if no why not ?

Answer Posted / abc

you can write as like for regular class.

Is This Answer Correct ?    10 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How printwriter is different from servletoutputstream?

999


What is a web application and what is it’s directory structure?

1073


What are the different methods involved in the process of session management in servlets?

1262


If a servlet is not properly initialized, what exception may be thrown?

1179


What are the functions of an intercepting filter?

943


What are the uses of servlet

1169


Is java servlet still used?

1038


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

1000


Write a program to show the functionality of doget and dopost method?

1211


Is dispatcher servlet a singleton?

1004


What is difference between server and servlet?

1089


What do you mean by web applications? Explain web application directory arrangement?

954


What is servlet and how it works?

964


What is servlet initializer?

968


What are different methods of session management in servlets?

1268