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 do you understand by url rewriting?

1011


Whether thread can be used in servlets?

1262


How can an existing session be invalidated?

1238


Explain web application directory arrangement?

1144


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

1216


What is SingleThreadModel interface?

1210


Which is better jsp or servlet?

1103


What do you mean by request dispatcher in servlet?

1155


What is load-on-startup in servlet?

1200


What are the different mode that servlets can be used?

1083


Explain the difference between servletconfig and servletcontext in servlet?

1098


What’s the difference between forward() and sendredirect() methods?

1065


What is meant by a servlet?

1142


What is the use of httpservletrequestwrapper?

1147


What is the process to implement doget and dopost methods?

1032