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

when we deploy the web application.the server reads the contents from configuration file(web.xml file) and server checks whether corresponding servlet object is created or not if it is created the server does'nt creates if it is not there then it create
before that when we deploy the web application ServletContext is created.
After the creation of servlet object .then servletConfig is created for that corresponding servlet.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet and its advantages?

1043


How many servlet objects are created?

1057


What are the life cycle methods of a servlet?

1041


Why is Servlet so popular?

1063


Is java servlet still used?

1037


Name the different ways of session tracking.

1024


What is setattribute in servlet?

1132


Can you create a deadlock condition on a servlet?

1078


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

1012


How many objects of a servlet is created?

1263


What is the difference between sendredirect() and forward() in a servlet?

1010


What is cgi?

1012


What are the different types of servlets?

1007


When jsessionid is created?

1043


Write a command to get actual path of a servlet to the server?

1022