What is the difference between servlet config and servlet
context.
Answer Posted / ganesh
ServletContext object is used to give the
initparameter(Context) values to each servlet written in a
web appliction
but in servletConfig is used to give initparameter values to
only to specific servlet in which they are mentioned at the
time in web.xml file
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain the servlet filter.
What are the various ways of session supervision in servlets?
Which method is called when reference variable is passed in system.net?
Whats the advantages using servlets over using CGI?
What is a servlet context?
Explain the concept of ssi ?
What are common tasks performed by Servlet Container?
How to handle exceptions thrown by application with another servlet?
Can you call a jsp from the servlet?
What is the difference between 2 types of servlets?
Why do we need a constructor in a servlet if we use the init method?
How the JSP file will be executed on the Server side?
How can we include static files in the jsp page?
Explain in brief the directory structure of a web application?
Which event is fired at the time of session creation and destroy?