• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to stop the running process by jsp page?

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a jsp page which named job.jsp , this page displaies all the curreently running jobs , and each job can be stoped by click the "stop" button in the web page.

The running jobs are executed by another java project in the same host.

So I wonder that how can I send the "stop running" message through the jsp
page to the java application? and how can I stop the running job when received the message?

thanks
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like no problem, there must be something to receive request in your other application i.e. a servlet or something. There are several possible ways to communicate with your seperate application. How you are planning to do that. One way could be a servlet to listen the request.
 
reply
    Bookmark Topic Watch Topic
  • New Topic