I don't know exactly what you want to achieve but you can define static
methods in your servlet. You can also use RequestDispatcher to include some
content from another servlet if that is your goal.

 -----Original Message-----
From: Cote, Stephane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 01, 1999 11:11 AM
To: [EMAIL PROTECTED]
Subject: How to call another servlet(from a servlet) without using redire
ct.



Hi all.


        How can you call a certain methods on a servlet (by another servlet)
without using redirect.
This methods would return something.(String) or Stream

thanks.




                      ,,                    Stephane DeCoeli Cote
                    `  >                  [EMAIL PROTECTED]
 ||                  ~                 || w (925) 730-3717
|||=oOOo=====oOOo=|||
 ||             \  /||\  /            ||
                  \/ || \/
                     /\

___________________________________________________________________________
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