Calling another servlet within a servlet:
* Know the servlet's name, given in the properties file
* Get the servlet Object using servletcontext as
servlet some_name =
getServletConfig().getServletContext().getServlet("servlet_name");
* We can call any public method of the servlet using this servlet object
This tip is written by Krishna Roopa originally.
-----���� �޽���-----
���� ���: Revathy Ravi <[EMAIL PROTECTED]>
�޴� ���: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
��¥: 1999�� 2�� 23�� È���� ���� 2:22
����: communication between servlets
>Hello,
> I have a servlet running in one system or(server). This servlet
>has to communicate with a servlet in another system(or server). How to do
>this?
>
>
> Revathy R.
>
>___________________________________________________________________________
>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