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
Write the code to get the server information in servlet.
What is the difference between CGI and Servlet?
What is war file?
Is servlet a server side scripting language?
What are the types of servlets? Explain
Explain the war file?
Why do we need a constructor in a servlet if we use the init method?
What are common tasks performed by Servlet Container?
How can an existing session be invalidated?
What are different ways for authentication of servlet?
Can we use the constructor, instead of init(), to initialize servlet?
How many servlet objects are created?
Explain session tracking and its importance?
Explain web container.
What is the use of welcome-file-list?