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 the difference between portlet and servlet?
What is the servletconfig object?
What if you need to span your transaction across multiple servlet invocations?
What is the inter-servlet communication?
How do you load an image in a Servlet?
What is servlet and its use?
Is servlet a server side scripting language?
How does tomcat servlet container work?
What are the drawbacks of cgi?
What do you mean by servlet context?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
Explain session tracking and its importance?
Where do you define dispatcherservlet?
Explain request dispatcher and its methods.
What is the difference in between the httpservlet and generic servlet?