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 are the different methods of session management in 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?
How can you start a jta transaction from a servlet deployed on jboss?
What are the different mode that servlets can be used?
What is servlet mapping?
What is the main purpose of java servlets?
Explain web container.
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Should I override the service() method?
What is called Scriptlet?
Write a program to show the functionality of servlets.
What is the use of httpservletrequestwrapper?
What is the type of method for sending request from http server?
What are the uses of servlet
Why servlet is mostly used?