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
What do you mean by session tracking and also explain its techniques?
What is ServletConfig object?
Can filter be used as request or response?
Who is responsible for writing a constructor?
Explain how to improve Servlet Performance?
Explain the servlet context.
How can you use a servlet to generate a plain text instead of html?
What is servlet container. how it works?
What are some advantages of storing session state in cookies?
Explain the concept of ssi ?
Name the different ways of session tracking.
why we should override only no-agrs init() method.
Is that servlet is pure java object or not?
Explain the jar and war files in servlet?
What are the types of Session Tracking ?