Title: RE: How to call another servlet(from a servlet) without using re dire ct.

Ok.

        Let say that you are displaying a page.  ServletA builds your Header, ServletB build your left side menu options.  ServletC and ServletD processes information and displays the Header from A and the menu option from B plus their own information.

This way you always get the same look and feel.

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

    -----Original Message-----
    From:   Dino Valente [SMTP:[EMAIL PROTECTED]]
    Sent:   Wednesday, September 01, 1999 11:54 AM
    To:     [EMAIL PROTECTED]
    Subject:        Re: How to call another servlet(from a servlet)  without using re dire ct.

    -----Original Message-----
    From: Michael <[EMAIL PROTECTED]>
    To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
    Date: Wednesday, September 01, 1999 11:40 AM
    Subject: Re: How to call another servlet(from a servlet) without using re
    dire ct.


    >----- Original Message -----
    >From: Pascal Houde <[EMAIL PROTECTED]>
    >To: <[EMAIL PROTECTED]>
    >Sent: Wednesday, September 01, 1999 11:51 AM
    >Subject: Re: How to call another servlet(from a servlet) without using re
    >dire ct.
    >
    >
    >> 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.
    >
    >
    >How about servlet chaining? Personally, I stay away from it, since it
    >requires different set-ups from one servlet engine to another;


    What do you mean by this? Could you give an example?

    >but redirection is (supposed to be) standard.
    >

    I am having great difficulty using redirection under Netscape when using the
    JDSK2.0. I have already given an example of this a few days ago. Basically I
    don't trust it.

    dino

    ___________________________________________________________________________
    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