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 the webcontainer creates ServeletConfig,ServletContext
objects? befoure creating the Servlet object or not?

Answer Posted / durga ganesh reddy

Just by receiving a request, the web container creates
ServletContext object(so it is called asapplication
object).After creating servlet object then ServletConfig
object will be created.For each servlet instance there will
be a ServletConfig istance is available separtely.

Is This Answer Correct ?    11 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is a constructor needed in a servlet even if we use the init method?

1127


What are the functions of an intercepting filter?

943


Why is init() method is used in servlets?

1023


What is the difference between 2 types of servlets?

1141


When servlet object is created?

1150


How will two or three servlets interact or communicate with each other?

1445


What is http servlet in java?

1062


What are the different session tracking techniques?

1192


How do servlets work?

1023


Why the container loads server at the application startup and how?

1053


When servlet is loaded?

1075


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

1034


Why filter is used in servlet?

989


Tell the new features added in servletrequest interface i.e. Servlet 2.4

1167


What is servlet and its types?

1052