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
What is difference between PrintWriter and ServletOutputStream?
Which interface must be implemented by all servlets?
What is called servlet container?
What is the life cycle of a servlet?
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?
How do cookies work in servlets?
What methodology can be followed to store more number of objects in a remote server?
What are the jobs performed by servlets?
Explain the difference between generic servlet and http servlet?
Why session tracking is needed?
Explain session tracking and its importance?
What are some disadvantages of storing session state in cookies?
How do you define a servlet?
What is URL Encoding?
What is servlet and its life cycle?