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

what is the diff between Servletcontext and servletconfig?

Answer Posted / srinivasa

Every web application has only one SContext object.
There are n number of SConfig objects in an Web app where
n is the number of servlets. It is specific to a servelt.
ServletContext is used to get the context parameters.
ServletConfig is used to get to the init parameters.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many threads can java run?

1114


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1105


What are java packages? What's the significance of packages?

1331


Why arraylist is used in java?

1070


What are byte codes?

1221


What is the difference between post and put?

1066


What are drawbacks of singleton class?

958


Is arraylist a class in java?

1065


How many types of equations are there?

1017


How we can skip finally block of exception even if some exception occurs in the exception block in java?

948


If goto and const is reserve words than why it is not work in java?

1974


Why does java doesnt suuport unsigned values?

2236


What is scope & storage allocation of static, local and register variables? Explain with an example.

1014


How to write custom exception in java?

1053


What is the indent key?

1037