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 memory leak happen java?
What is string english?
Can we increase array size dynamically in java?
What is string subsequence method?
Why super is first line in java?
What are the different conditional statements?
What is e java?
What is java util list?
What is included in core java?
Which sorting algorithm is in place?
What is runtime locatable code?
How do you create a first line indent?
What is the difference between inheritance and encapsulation?
how we can create packages in java?
Explain the significance of listiterator.