communication between servlets 2004-11-25 - By bin cai
Back 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. Thanks in advance bin
-- ---- ---- ---- ---- ---- ----- Do you Yahoo!? The all-new My Yahoo! ? What will yours do?
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<DIV> <DIV>hello,</DIV> <DIV>I create two servlets, for example, called servletA and ServletB.< /DIV> <DIV>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.</DIV> <DIV>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.</DIV> <DIV>I tried to use Dispatcher but it failed. any body can tell me how to solve this problem.</DIV> <DIV>Thanks in advance</DIV> <DIV>bin</DIV> <DIV> < /DIV></DIV><p> <hr size=1>Do you Yahoo!?<br> The <a href="http://my.yahoo.com">all-new My Yahoo!</a> ? What will yours do? =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|