At 07:28 PM 11/25/04, bin cai wrote:
>hello,
>I create two servlets, for example, called servletA and ServletB.
>As i hope,ServletA gets input from client and pass info to ServletB. and then wait until ServletB finishes process these info and return the result to ServletA.then ServerletA continue to be excecuted until sending all response to client.
>I know Redirect method is not appliable since it will pass the control from serverA to ServeletB, as opposed to what i hope that ServerA control whole flow.
>I tried to use Dispatcher but it failed. any body can tell me how to solve this problem.
Sounds like a job for the servlet "include" method (or possibly "forward").
TW
===========================================================================
To unsubscribe, send email to listserv@(protected)
of the message "signoff J2EE-INTEREST". For general help, send email to
listserv@(protected)".