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
Is dispatcher servlet a singleton?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
Explain the war file?
What is the capacity the doget can send to the server?
Can we use threads in Servlets?
How to make sure a servlet is loaded at the application startup?
Can filter be used as request or response?
What is difference between get and post method?
Is tomcat a servlet container?
What is meant by session? Tell me something about httpsession class?
What is load-on-startup in servlet?
What is the difference between get and post methods?
What are the exceptions thrown by servlets? Why?
How does java thread pool work?
What is the life-cycle of servlets?