> This is what i want to acheive.  I cant have the user 
> submitting a request, and then stopping it part way through.

This is what you get.

The browser simply says, "Do this". And you do. There is no Mechanism
for the user to say, "No! Stop! Don't!". You may never get the request
if there is a network problem, but that isn't what you seem to be
worried about.

The browser might give up (stop button, etc) before getting the
response, and if you were writing the resultant HTML to the response
yourself, then you'd have to handle the exception that could result from
connection being gone, but in Struts you'd use JSP and so you wouldn't
have to.

If youre worried about the user clicking a button, "stopping", and since
they'd be on the same page, they could then press the same button
(re-executing the same code) and getting you into some bad state, look
at using tokens.



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

Reply via email to