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
How do cookies work in servlets?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is the difference between CGI and Servlet?
What is a servlet context?
Which java application server is the best?
Explain get and post.
What is the functionality of actionservlet and requestprocessor?
What is cookie in servlet?
What do you mean by mime type?
Explain the custom jsp tags and the beans.
What is servlet interface?
What are the different methods involved in generic servlet?
What is the use of send redirect () method?
How the servlet is loaded?