what is the difference between ServletContext and
ServletConfig
Answer Posted / saikiran
the scope of ServletConfig is With in the servlet
ServletContext is with in webApplication.
ServletConfig is an name and value pairs
it consist of
servletName,InitializationParameters,servletContext
ServletContext:
---------------
the application which is being deployed in the
server...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is http servlet? Explain with the help of an example.
Is java servlet still used?
What is servlet and its advantages?
What is the use of servletconfig interface?
How to read request headers from servlets?
What is the difference between forward () and sendredirect () functions in servlet? Explain
How forward () method is different from send redirect () method?
What's the use of servletcontext?
What do you mean by url pattern in servlet?
When should you prefer to use doget() over dopost()?
What is MIME Type?
How does Cookies work in Servlets?
What are the exceptions thrown by servlets? Why?
Define the servlet mapping.
Why is Servlet so popular?