What is the difference between servlet config and servlet
context.
Answer Posted / suresh g
Servlet Context:
Servlet context is communication
between server side .Every application has only one
servlet context and is accessible to all action
resource of that application.
Serclet Config:
Servlet Config is objcet created after
a servlet is instantiation and its default constructor
is read .It is create to pass initialization
information the servlet.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to notify an object in session when session is invalidated or timed-out?
How are filters?
What is the default http method in the servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is the capacity the doget can send to the server?
What is the functionality of actionservlet and requestprocessor?
When should you prefer to use doget() over dopost()?
Explain servlet.
Difference between httpservlet and generic servlets?
How the typical servlet code look like ?
Explain the lifecycle of a servlet?
Describe the phases of servlet lifecycle?
What is the inter-servlet communication?
Is servlet thread safe?
List out difference between a JavaBean from a Servlet?