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
Where do you define dispatcherservlet?
Can we fetch the attributes related to a servlet on a different servlet?
What are the jobs performed by servlets?
What are the important functions of filters?
How can we invoke another servlet in a different application?
How to generate the server side programming and the advantages of it over the other languages?
Can we refresh servlet in client and server side automatically?
What is the disadvantage of cookies?
What is load-on-startup in servlet?
What is java servlet session?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is difference between PrintWriter and ServletOutputStream?
What are the annotations used in servlet 3?
What is servlet? Explain
What are the advantages of cookies?