Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to stop the running process by jsp page?  RSS feed

 
pengpeng lin
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!