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.
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.