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...

when a servlet sends request for first time it uses the
follwing methods
a)init
b)doget()
c)dopost()
d)service

Answer Posted / sri

when servlet gets first request, webcontainer loads the class and creates the object for it.
2)Constructor executes
3)webcontainer creates ServletConfig obj for servlet obj
4)init() method executes
5)service() method executes.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we pass null as argument in java?

894


Is it possible for a yielded thread to get chance for its execution again?

895


What does the exclamation mark mean in java?

1171


What is canonical name in java?

1046


What is the difference between public, private, protected, and friend access?

990


What is serialization in java?

1010


Are maps ordered java?

898


Is hashset ordered java?

1039


What is an accessor?

1606


Explain about java sdk?

970


What is meant by main method?

998


Which class cannot be a subclass in java?

955


Can we create object of static class?

975


How to change the priority of thread or how to set the priority of thread?

991


How do you add an arraylist to an array in java?

932