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
Can a final method be overloaded?
What are the benefits of java?
What is the base class of all exception classes in java?
Enlist few advantages of inheritance?
What is try-with-resources in java?
Is null a value?
Does java support Operator Overloading?
What is difference between jdk,jre and jvm?
What is hashset in java?
What is assembly used for?
What is == in java?
What function extracts specified characters from a string?
What is void data type?
What do you mean by light weight and heavy weight components?
Can we initialize the final blank variable?