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 / n.l.narayana

yes., when ever the servlet is executed .,it requires
configuration.,the configuration should be done in init()
method only.,

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you refresh servlet in client and server-side automatically?

1065


What are the functions of an intercepting filter?

944


What is servlet in web technology?

1041


Is servlet a controller?

1003


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2690


what is multiple server?

2299


What is servlet interface?

1216


What is Servlet API used for connecting database?

1094


How can you run a servlet program?

1080


What if you need to span your transaction across multiple servlet invocations?

1082


What are the types of protocols supported by httpservlet ?

1217


How do you define a servlet?

984


What is a servlet context?

1160


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

1179


Describe the phases of servlet lifecycle?

1065