Thanks, so the question now would be like this. With the dispatcher.forward() method, is it possible to POST data instead of tacking parameters at the end of test.jsp ?
Ralph Einfeldt wrote: >You can use response.sendRedirect in servlets. > >But keep in mind that this is a complette different >thing than dispatcher.forward(). > >redirect() forces the client to do a second request >to the url. (You can see this in the browser as it will >show a different URL). Forward() works internally, the >response to the initial request is created by the given >servlet/jsp. This is transparent to the client. > > > >>-----Urspr�ngliche Nachricht----- >>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] >>Gesendet: Dienstag, 8. Oktober 2002 08:42 >>An: [EMAIL PROTECTED] >>Betreff: Forwarding in servlets. >> >> RequestDispatcher dispatcher = >>request.getRequestDispatcher("/test.jsp") ; >> if (dispatcher!=null) { >> dispatcher.forward(request, response) ; >> } >>to forward a request to a jsp page. Is it possible to use >>response.sendRedirect like in jsp ? >> >> >> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
