I have two threads. One is to extract data from the database, and the other is to display a progress indicator with a cancel button. If I click abort, the request executed by another thread should be canceled.
I know how to kill it from the command line; but, if any of you know about canceling a request from java, this will help me.
user2238899
source
share