| ServletConfig encapsulates servlet configuration and gives access to
the application (servlet context) object.
Servlet initialization parameters appear in the servlet configuration
file. Each servlet class may have several different servlet instances,
one for each servlet parameters:
<servlet servlet-name='my1'
servlet-class='test.MyServlet'>
<init-param param1='my1-1'/>
<init-param param2='my1-2'/>
</servlet>
<servlet servlet-name='my2'
servlet-class='test.MyServlet'>
<init-param param1='my2-1'/>
<init-param param2='my2-2'/>
</servlet>
|