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 / komal singh adhikari

YES,
we can initialized the default constructor.

but we cannot call the parameterized one.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can servlet have a constructor ?

1095


What's the difference between authentication and authorization?

1200


What is SingleThreadModel interface?

1202


What is the dispatcher servlet?

1025


Write a servlet to upload file on server.

1157


If some new data has entered the database, explain how can a servlet refresh automatically?

1349


What are different Authentication options available in Servlets.

1121


Can we override destroy method in servlet?

1032


What are the drawbacks of cgi?

1114


What is url encoding and url decoding

1223


What are the differences between the servletconfig interface and the servletcontext interface?

1251


Difference between get and post in java servlets?

1075


Explain the role of dispatcherservlet and contextloaderlistener.

1251


Why servlet is used as controller ? Not JSP? I want complete explation?

1178


What is Client-Server Computing?

2478