>>> Manoj Thomas <[EMAIL PROTECTED]> 10/13/99 2:12:19 PM >>>
>How can I
>implement servlet chaining thru code?
By using RequestDispatcher.forward()
>How can I restrict the
>response from the first servlet so that the response to the
>client will be send from the second servlet only?
Why do you need the first servlet to make a response?
Even if you do... just use:
RequestDispatcher.include() to get the contents of the 2nd servlet.
Hope that helps.
Nic
___________________________________________________________________________
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