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 / ravi

No..not at all,,,,servlet is a class which is dynamically
loaded...dynamically loaded class never requires
constructors.

Is This Answer Correct ?    8 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly are the functions of servlet?

1097


What is a servlet-to-servlet communcation?

1170


Servlet is pure java object or not?

1188


What is Servlet API used for connecting database?

1094


Explain the different ways for servlet authentication?

1092


What mechanisms are used by a Servlet Container to maintain session information?

1159


What is servlet lazy loading?

1160


What do you mean by scope object and what are its types?

1066


what is servlet chaining?

1087


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

1029


What is servlet container. how it works?

1134


What is the importance of init() method in Servlet ?

1076


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

1019


Difference between java beans & servlets?

1055


What are the objects involved when a servlet receives a call from client?

1034