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 is the difference in between the httpservlet and generic servlet?
What are the steps that are involved in using the httpservlet class?
How can the referrer and the target urls be used in servlet?
What is called servlet container?
What is servlet and its advantages?
How to notify an object in session when session is invalidated or timed-out?
What is the difference between servlet and filter?
If a servlet is not properly initialized, what exception may be thrown?
What is servlet in simple terms?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is the use of attribute in servlets?
What is java servlet?
What is a servlet?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What is the procedure of invoking different servlet in a different application?