Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Suresh Na
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Suresh,

welcome to java ranch please read this Names policy for java ranch ..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic