Quote:
Originally Posted by Json
If you want this seamless so that the brower doesnt refresh the page when you click the button you will have to create an AJAX call.
Using jQuery for instance this makes it all really easy. See Ajax – jQuery API for more information.
Once you make the ajax call you need to have a servlet or something receiving this call and then just take it from there to pause the running state of the thread in question.
// Json
|
thanks for the advice.
but as i went through the Ajax books, i saw that only text-data can be passed between a server and client using jsp.
how can i locate the thread in the server and then control it ?
please suggest some coding example..