What is the difference between servlet config and servlet
context.
Answer Posted / mamta singh
Servlet config is a private area for every servlet.Any
variable stored there is accessible to only that servlet
while sevlet context is a shared area for every servlet in
an application.In an aaplication every servlet can access
the variable stored in servlet context.
| Is This Answer Correct ? | 203 Yes | 20 No |
Post New Answer View All Answers
what is servlet chaining?
How is the get () method different from the post() method?
What is a java servlet?
What is the use of welcome-file-list?
If some new data has entered the database, explain how can a servlet refresh automatically?
Differentiate between the print writer and servlet output stream?
How can we invoke another servlet in a different application?
Explain the concept of ssi ?
When Servlet is unloaded?
Is servlet a framework?
What do you mean by web applications?
Write a hello world program using servlets.
The code in a finally clause will never fail to execute, right?
What is string tokenizer?
How native code can be used in a servlet?