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 is difference between PrintWriter and ServletOutputStream?
What is the use of servlet wrapper classes?
Explain the architechure of a servlet?
What is a servlet-to-servlet communcation?
Which protocol will be used by browser and servlet to communicate
What is servlet lazy loading?
What is url encoding and url decoding
Whats the advantages using servlets over using CGI?
What is http servlet?
What is the capacity the doget can send to the server?
What’s the use of the servlet wrapper classes??
How do we translate jsp?
What is the type of method for sending request from http server?
What are the differences between forward() method and sendredirect() methods?
What do you mean by singlethreadmodel interface?