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 do you mean by annotations in servlet?
What is servletconfig?
What is servlet looping or chaining?
Who is responsible for writing a constructor?
How can we upload the file to the server using servlet?
What is cgi?
How to commuincate between an applet and a servlet?
What is servlet and how it works?
What exception should be thrown when servlet is not properly initialized?
Can we override servlet service method?
What is Client-Server Computing?
Explain the difference between get and post method in servlet?
How to upload a file to the server using servlet?
How to notify an object in session when session is invalidated or timed-out?
What is servlet and its advantages?