Hiya, Ritesh, I suggest using the JtoExe tool, which wraps your Java App in a Win32 App, so that you can invoke it just like notepad.exe. Get JtoExe here: http://www.bravozulu.com cu, Oliver -----Ursprüngliche Nachricht----- Von: Ritesh_Srivastava [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. Juli 2000 17:21 An: [EMAIL PROTECTED] Betreff: Invoking non-console applications using Runtime.getRuntime().exec (). Hi, I am trying to start a standalone Java application from my servlet. In my servlet, what exactly i am doing is as follows: On doPost() i am writing: Process p = Runtime.getRuntime().exec("Batch file"); This batch file is something like this: java MyApplication The problem is, this Process cannot execute as it requires console for processing.Though non-console appl. like notepad can run from the servlet using exec, but console application are not executed. I want a way out where i can execute the Batch file or the same command from my HTML( and not command prompt). Can anybody help me on this. Regards, Ritesh =========================================================================== 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