Question : how do i stop a java code?

how do i stop a code, which is currently executing, on click of a button in a web application?

Answer : how do i stop a java code?

If you're not handling the threading then you need to have a look at whatever is managing the background processing and see what it provides for interrupting processing.
Random Solutions  
 
programming4us programming4us