• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run remote command from a JSP

 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to run remote command from a JSP.

I am automating my build scripts, using a JSP, and I would like to run a remote command from a JSP, and also have a way to show (if possible) the progress of the build log.

Regards
Aruneesh
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to explain what you mean by 'remote command'.
 
Aruneesh Salhotra
Ranch Hand
Posts: 167
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Remote Command : I want to run a command on the remote server using plink(this is the command line version of putty ssh).
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While this is not the type of thing I'd do directly from a JSP, if you are going to put the necessary Java on a JSP page, it'd be done no differently than using the same APIs from any other Java program.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic