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
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is servlet in tomcat?
Which http method is said to be non-idempotent and idempotent?
What is difference between server and servlet?
how many jsp scripting elements are there and what are those?
How do I know if java is running on linux?
What is meant by Servlet? What are the parameters of service method?
What is a web container and what is its responsibility?
Why is servlet used?
What is cookie in servlet?
what is servlet chaining?
How can you use a servlet to generate a plain text instead of html?
What are its drawbacks of cgi?
What is the difference between using getSession(true) and getSession(false) methods?
Describe the phases of servlet lifecycle?