What is the difference between servlet config and servlet
context.
Answer Posted / gaurav chauhan
You can take it like as every servlet has the same
ServletContext but every servlet has its own ServletConfig.
For Example: If you want the name of your company and email
address appear in all pages of your web applications then
you use ServletContext.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What do you mean by cgi in servlet?
How can we invoke another servlet in a different application?
Who is responsible to create the object of servlet?
Can you explain in detail 'javax.servlet' package?
Difference between GET and POST?
What is the purpose of requestdispatcher interface?
What are the various ways of session supervision in servlets?
Why servlet is faster than jsp?
How does tomcat servlet container work?
What do you mean by url pattern in servlet?
What is ServletContext object?
Can you refresh servlet in client and server-side automatically?
Why do we have servlet wrapper classes?
What is the difference between servlet and jsp?
What is the web server used for running the Servlets?