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

Java is pass by value or pass by reference? Explain

1027


Why does java doesnt suuport unsigned values?

2299


How do you check if two given string are anagrams?

1001


How do you download stubs from Remote place?

1829


How many boolean functions are there?

1010


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

1022


What java is used for?

1114


What is busy spin, and why should you use it?

1128


What is lambda in java?

1155


Define how does a try statement determine which catch clause should be used to handle an exception?

1248


What is the base class in java from which all classes are derived?

1030


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1085


how to create constants in java?

1121


What does string mean in java?

1150


Explain the scope or life time of class variables or static variables?

1038