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
Write an algorithm for quick sort?
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is a nested structure?
What does java ide mean?
How many bytes is a string in java?
What does || mean in code?
What is return data type?
What is preflight request?
What is the difference between multitasking and multithreading in Java
What is the purpose of javac exe?
Differentiate between stringbuffer and string?
What is the constructor?
What is the use of 'super' keyword inside a constructor?
What is Recursion Function?
What is the list interface in java programming?