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 web applications?
How to rectify errors in java servlet while compilation?
List out difference between a JavaBean from a Servlet?
What are important features of Servlet 3?
How do servlets work?
How do you configure a centralized error handler in servlets?
What is the life-cycle of servlets?
How servlets are deployed in java?
What are the key methods that are involved in processing of http servlets?
What do you mean by cgi?
What is called Scriptlet?
What is the servlet?
Can you use javascript in servlets?
What are the advantages of cookies?
Explain the methods of request dispatcher in servlet?