Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?
Answer Posted / nisha
Servlet config is one per servlet and servlet context is one for
the whole webapplication.
Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.
Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of inter-servlet communication?
Define the life cycle of a servlets.
How a servlet is unloaded?
What is the difference between the include() and forward() methods?
Differentiate between the web server and application server?
What are the kinds of http requests?
What are the advantages of servlets over traditional cgi?
What is cookies in servlet with example?
What is new in ServletRequest interface ? (Servlet 2.4)
Why servlet is used as controller ? Not JSP? I want complete explation?
What is the purpose of dispatcherservlet properties?
What are session variable in servlets?
Why do we need a constructor in a servlet if we use the init method?
Tell us something about servletconfig interface.
What are the life cycle methods of a servlet?