do you mean...
*****************************************
 // now we need to transfer the control to welcome.jsp

           RequestDispatcher rd =
             getServletContext().getRequestDispatcher("/jsp/welcome.jsp");

           if (rd != null)
              {
               rd.forward(req,res);
              }

            }


       }// end of doPost
*************************************

hope it helps, otherwise I can give you the hole code if you need ok
Mariel

> >-----Original Message-----
> >From: Remote [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, August 21, 2000 1:31 PM
> >To: [EMAIL PROTECTED]
> >Subject: simple syntax question
> >
> >
> >dear friends.,
> >Can anyone tell me the correct syntactical way to use the
> >RequestDespatcher method??
> >
> >I mean,if I have a servlet with request and response
> >objects,then I say :
> >response.sendRedirect("...").
> >
> >In the same way,what is the way to use RequestDispatcher??
> >  -- thanks in advance
> >  Vamsi
> >
> >
> >_________________________________________________
> >Get Your Free Email At, http://www.rediffmail.com
> >
> >Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions
> >
> >_____________________________________________________________
> >______________
> >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

Reply via email to