What is the difference between servlet config and servlet
context.
Answer Posted / v.tulasiprasad
servlet config is used to obtain configuration data when it
is loaded in to the application server.
for each servlet servlet config will be indipendent and the
configuration of a servlet is intialized in the servlet
config file.
servlet context is used to obtain the information about the
environment in which it is running.one application have only
one servlet context file.through this servlet context file
we can acces servlets in that application.
Is This Answer Correct ? | 10 Yes | 14 No |
Post New Answer View All Answers
What are all the advantages of servlet over cgi?
What are all the ways for session tracking?
How can you start a jta transaction from a servlet deployed on jboss?
Which interface should be implemented by all servlets?
What is the major difference between context parameter and context attribute?
What do you mean by annotations in servlet?
What are the new features added to servlet 2.5?
How do you communicate in between Applets and Servlets?
What is the difference between the http servlet and generic servlet?
What’s the use of the servlet wrapper classes??
Why is a constructor needed in a servlet even if we use the init method?
What is meant by servlet? What are the parameters of the service method?
What is the difference in between the httpservlet and generic servlet?
What is the difference between get and post methods?
Which interface must be implemented by all servlets?