GenericServlet is a convenient abstract class for defining Servlets.
Servlets which need more control than HttpServlet can extend
GenericServlet.
In addition, GenericServlet implements ServletConfig to make
it easier to get configuration information.
Servlet configuration looks like the following:
<servlet servlet-name='myservlet'
servlet-class='test.MyServlet'>
<init-param param1='value1'/>
<init-param param2='value2'/>
</servlet>
|