File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to run remote command from a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to run remote command from a JSP" Watch "How to run remote command from a JSP" New topic
Author

How to run remote command from a JSP

Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
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

Joined: Jan 10, 2002
Posts: 61766
    
  67

You'll have to explain what you mean by 'remote command'.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
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

Joined: Jan 10, 2002
Posts: 61766
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to run remote command from a JSP