Tuesday, May 14, 2013

What are the ServletContext and ServletConfig objects? What are Servlet environment objects?


ServletConfig :

The ServletConfig parameters are for a particular Servlet.
The parameters are specified in the web.xml (ie
deployment descriptor).

ServletContext :


The ServletContext parameters are specified for the entire Web
application. The parameters are specified in the web.xml (ie
deployment descriptor).

No comments:

Post a Comment