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
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
Betreff: Re: AW: Forwarding in servlets.
>
>
> 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 ?
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROT
rameters
>to the request. At this point this has nothing to do
>with GET or POST.
>
>
>
>>-Ursprüngliche Nachricht-
>>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Gesendet: Dienstag, 8. Oktober 2002 08:56
>>An: Tomcat Users List
>>
That's what the spec says.
(It works for me in tc 4.0.3)
> -Ursprüngliche Nachricht-
> Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 8. Oktober 2002 09:13
> An: Tomcat Users List
> Betreff: Re: AW: AW: Forwarding in servlets.
&g
Ok thanks.
Ralph Einfeldt wrote:
>That's what the spec says.
>
>(It works for me in tc 4.0.3)
>
>
>
>>-Ursprüngliche Nachricht-
>>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
>>Gesendet: Dienstag, 8. Oktober 2002 09:13
>>An: Tomcat
t; >
> >>-Ursprüngliche Nachricht-
> >>Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]]
> >>Gesendet: Dienstag, 8. Oktober 2002 09:13
> >>An: Tomcat Users List
> >>Betreff: Re: AW: AW: Forwarding in servlets.
> >>
> >>So I j