What is the difference between servlet config and servlet
context.
Answer Posted / vijay kaarmani
Both ServletConfig and ServletContext are configuration objects used by servlet container to initialize various init parameters for a web application. However they differ in terms of the scope and availability of init parameters defined by both of them.
Please see http://javashiksha.com/servlet-jsp/difference-between-servlet-config-and-servlet-context.html for more details
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we fetch the attributes related to a servlet on a different servlet?
How to get the actual path of servlet in server?
How can the session in servlet can be destroyed?
What do you mean by servlet context?
Difference between doget and dopost?
What is servlet interface?
What are common tasks performed by Servlet Container?
How we can create war file in servlet?
What is servlet and its types?
What are the disadvantages of storing session state in cookies?
Define the servlet mapping.
What is servlet looping or chaining?
What is the difference between a generic servlet and http servlet?
Tell us something about servletconfig interface.
Why filter is used in servlet?