Runtime.getRuntime(); After getting the runtime you can call executes on it. I recommend doing in a JavaBean or controller instead of a JSP for better exception handling.
----- Original Message ----- From: "Ramesh Kadirisani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 2:07 PM Subject: calling an executable from my jsp program > Hi Guys, > i am supposed to run an executable(called mp) from within one of my jsp programs. > Basically i have to follow the following steps. > > from within the program ==> call the executable ==>provide some input ==> > executable gives out some output files ==> back into the program > > I did the same in my perl program(on Windows NT) as below: > > system("mp.exe siid.sgml -t siid.text -h siid.html -e siid.err "); > > How can i accomplish the same in my jsp program? > > Thanks in advance. > > Ramesh Kadirisani. > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com