This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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: 34973
379
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