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 is servlet and how it works?
Why doesn’t a servlet include main()? How does it work?
Explain the concept of ssi ?
What is the inter-servlet communication?
Is servlet a framework?
What are important features of Servlet 3?
How to rectify errors in java servlet while compilation?
What is the use of send redirect () method?
how many jsp scripting elements are there and what are those?
What is the difference between 2 types of servlets?
Why doesn’t a servlet include main()?
What are the types of protocols supported by httpservlet ?
Why servlet is mostly used?
What are the uses of servlet and what is servlet chaining?
What is getservletcontext?