What is the difference between servlet config and servlet
context.
Answer Posted / sulthansheriff
Servlet Context :
In servlet programming, the servlet context is the
environment where the servlet runs. The servlet container
creates a ServletContext object that you can use to access
information about the servlet's environment.
ServletConfig:
A servlet configuration object used by a servlet container
used to pass information to a servlet during initialization.
| Is This Answer Correct ? | 89 Yes | 27 No |
Post New Answer View All Answers
Can we fetch the attributes related to a servlet on a different servlet?
What are the features added in Servlet 2.5?
What is the difference between forward () and sendredirect () functions in servlet? Explain
How can the referrer and the target urls be used in servlet?
What is servlet container?
How do you invoke a servelt?
Is tomcat a servlet container?
What are the different types of servlets?
What is servlet invoker?
Write a hello world program using servlets.
Why the concept of single thread model interface is used?
How httpservlet is different from the genericservlet?
What are the key methods that are involved in processing of http servlets?
What is servlet api used for conneting database?
How do you define a servlet?