InterviewSolution
| 1. |
What Is The Difference Between Servletcontext And Servletconfig? |
|
Answer» The ServletConfig gives the INFORMATION about the servlet INITIALIZATION parameters. The servlet ENGINE implements the ServletConfig interface in order to PASS configuration information to a servlet. The server passes an object that implements the ServletConfig interface to the servlet's init() method. The ServletConfig gives the information about the servlet initialization parameters. The servlet engine implements the ServletConfig interface in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface to the servlet's init() method. |
|