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 are the life cycle methods of the servlet?
What is http servlet?
What is servlet used for?
Why is http protocol called as a stateless protocol?
Which method is called when reference variable is passed in system.net?
What do you mean by annotations in servlet?
Explain get and post.
What methodology can be followed to store more number of objects in a remote server?
How the JSP file will be executed on the Server side?
Explain how does JSP handle run-time exceptions?
What is meant by Servlet? What are the parameters of service method?
Explain the methods of request dispatcher in servlet?
Explain url encoding in servlet?
How can we achieve transport layer security for our web application?
Is servlet a framework?