Hi All

Does anybody know how to call a servlet from within a servlet.
I have a main servlet A which establishes a database connection and
retrieves names of some users. I have another servlet B which is a general
purpose servlet used for sending mails.
I want to call this servlet B from with in servlet A to send mail to the
users retrieved in servlet A. Is there any way of doing it. Also I do not
want to do it at the server level ie through servlet chaining.
If possible pl. send the relevant code also.

Anshul Jain

___________________________________________________________________________
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