wood burning stoves*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 688


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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30795
    
157

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to cancel to my existing request when i click my new request