what is the difference between ServletContext and
ServletConfig
Answer Posted / balu
yes ur correct Saurabh..
servletcontext scope is of total application..where as
servletconfig is only for the servlet....
servletcontext gets created when the server starts i.e when
the server reads the web.xml of the application which is
being deployed in the server...
where as servletconfig get created when the servletobject
gets created...
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Differentiate between the web server and application server?
How httpservlet is different from the genericservlet?
How to make sure a servlet is loaded at the application startup?
What is servlet in simple terms?
What are the types of protocols supported by httpservlet ?
How many servlet objects are created?
What are Servlets?
What is difference between server and servlet?
Why don't we write a constructor in a servlet?
Why is a constructor needed in a servlet even if we use the init method?
What are some disadvantages of storing session state in cookies?
Which method of the httpservletrequest object is used?
What is called Scriptlet?
Difference between httpservlet and generic servlets?
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?