Jason hunter, in his book Java Servlet Programming, explains how to access one
servlet from
another one, using the ServletContext.getServlet() and Servlet.getServlet()
methods.

In my case, I have a class (not a servlet one) that wants to access the
methods of one
servlet. Is there a static method that gives a reference to a ServletContext
object,
or any other mean ?

thanks in advance
guillaume ORIOL

___________________________________________________________________________
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