What is the difference between servlet config and servlet
context.
Answer Posted / sulthansheriff
Servlet Context :
In servlet programming, the servlet context is the
environment where the servlet runs. The servlet container
creates a ServletContext object that you can use to access
information about the servlet's environment.
ServletConfig:
A servlet configuration object used by a servlet container
used to pass information to a servlet during initialization.
| Is This Answer Correct ? | 89 Yes | 27 No |
Post New Answer View All Answers
What is the functionality of actionservlet and requestprocessor?
What is preinitialization of a servlet?
What is servlet and its life cycle?
What's the difference between servlets and applets?
When servlet object is created?
What are the advantages of cookies?
Why is Servlet so popular?
What is a cookie What is the difference between session and cookie
why we should override only no-agrs init() method.
What is a java servlet?
What is war file?
What do you mean by url pattern in servlet?
How can we include static files in the jsp page?
Explain the different ways for servlet authentication?
Explain the difference between get and post method in servlet?