Hi Cyril,
    You can use Generic Servlets in the same way that you use servers, i.e. to
provide information on receipt of a request, or you can use them to provide
information to other HTTP Servlets who can call it's public methods.

There is a simple example of this use in the Java Tutorial tutorial on
servlets. The tutorial uses a bookstore example and one of the Servlets
(BookDBServlet) is a generic servlet.

see
http://java.sun.com/docs/books/tutorial/servlets/overview/example.html

Karl

Cyril_Rognon/PAR/Lotus wrote:

> Hello,
>
> I have been using servlet as http server extension and it works just fine.
> I have been subclassing the javax.servlet.http.HttpServlet class in order
> to do so.
>
> Now, what about the javax.servlet.GenericServlet class ?
>
> It is supposed to handle non http service. How do you access a non
> HttpServlet ?
>
> The sun's servlet runner only take care of http access to servlet.
>
>  Is there any info on non http servlet engine ?
> Thanks
>
> Cyril ROGNON
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to