aspose file tools*
The moose likes Servlets and the fly likes Need to cancel to my existing request when i click my new request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need to cancel to my existing request when i click my new request" Watch "Need to cancel to my existing request when i click my new request" New topic
Author

Need to cancel to my existing request when i click my new request

Suresh Na
Greenhorn

Joined: May 23, 2008
Posts: 2
Suppose when i'am loading bulk of records,half stage some other reasons i'am tried to cancel the load so that immediately cancel button but the previous request is not to cancelled. i want to stop my loading process at any time whrn i submit cancel again
in this case what to do

Thanks
Suresh.N
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684


Hi Suresh,

welcome to java ranch please read this Names policy for java ranch ..

Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30352
    
150

You could have "cancel" submit a value to the server and store something in the session. If you have the original request poll the session, you will know to stop processing.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: Need to cancel to my existing request when i click my new request