Title: RE: runtime..

Try Runtime.getRuntime().exec("blahdeblah");

Whats the actual problem you have?


dave

-----Original Message-----
From: Mehmet Gok [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 29, 2000 5:39 PM
To: [EMAIL PROTECTED]
Subject: runtime..


hi everybody

I have a problem with system commands. In servlet's doPost() method I want
to execute a system command ( or an exe file)
I use such a line :

Runtime.getRuntime.exec("command_name");

My system is Redhat 6.1 and I'm using jdk1.2, jsdk 2.0 and jserv

thanks

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to