Depending on which JDK you use, you can use the exec() method of the Runtime class ( < JDK 1.5) or the ProcessBuilder (JDK 1.5 and up).
http://www.java-tips.org/java-se-tips/java.util/from-runtime.exec-to-processbuilder.html hth, Jason On 1/23/07, orodsem <[EMAIL PROTECTED]> wrote:
Hi, How can I run a .sh file via a web application? I want to start and stop a service in linux via a web page. I use JSF in web tier with AppFuse 1.9.3 -- View this message in context: http://www.nabble.com/run-a-.sh-file-via-appfuse-tf3063619s2369.html#a8520079 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
