You can use exec methods from java.lang.Runtime to execute any program.
Just try it out.

-----Original Message-----
From: Don Junio Edillor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 11:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Invoking Program from servlets


use Runtime class.. under java.lang

>From: Alec Matias <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Invoking Program from servlets
>Date: Mon, 27 Mar 2000 14:05:09 +0800
>
>Hi!
>
>How can I run an external exe program from servlets with parameters?
>Example I had an existing program.exe that needs to be executed with the
>command like this.
>
>program.exe test 123 -f -o
>
>This is just a sample.Thanks.
>
>Alec
>
>___________________________________________________________________________
>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

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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

___________________________________________________________________________
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