Tam, Michael wrote:

However, my concern was under the same request, if a client make a request
to (A), which passes to(B) and (B) passes to (C) and so on, then a client
could terminate the process by quitting the browser or "stop" the browser am
I correct?  If so, my question would be how to avoid the client to interfere
the process after (A) is completed [If (A) is terminate before it is
complete, then the entire process should terminate and it is ok]?

If (A) is completed, then you should be fine since the request is complete and the client has no more input on the matter of what happens to the data sent in the request.


If (A) is not completed, you may be left with a servlet in an invalid state (i.e. it has some information needed to perform its processing but not other information). You may need to write some code into your servlet to assure yourself that it does not try to call other Java code using incomplete information, such as some kind of validation.


Erik



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to