Hi,
First get the Runtime object then use its exec method to run your .exe
application.
Runtime r = Runtime.getRuntime();
r.exec("notepad");
Note : notepad.exe should be in the system Path.
Hope this helps you.
----- Original Message -----
From: Santiago Benito Rebollo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2000 5:20 PM
Subject: Execute aplication in other process
> Hi everybody!,
>
> Does anybody know how to run an aplication (exe file or class file) in a
> JSP, a servlet, or a java class?
>
> Thanks for your help
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets