Hello,
this may be helpful to you:
FirstServlet fiServlt =
(FirstServlet)getServletConfig().getServletContext().getServlet("nameof
FirstServlet")
bye
>Hi:
> I am a beginer of Servlet and want to know how a servlet
>communicates with another.Might you tell me where I can get some
>sample code of it? Any code you give me will also be very helpful to
>me.
>
>Thanks.
>Regards.
>Huyong
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>___________________________________________________________________________
>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