the code works fine for a stand alone java application , but if the same
code is written in a servlet, it does not work.

> ----------
> From:         Sven van 't Veer[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Tuesday, July 11, 2000 6:16 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Using Runtime.getRuntime().exec() function
>
> Ritesh_Srivastava wrote:
> >
> > Runtime.getRuntime().exec("notepad") works but
> > Runtime.getRuntime().exec("java  ApplicationName") does not works.
> >
> Create a batch file that cd's to the startup dir os the java app, and
> then calls "java appname". Then in your app call the batchfile.
>
> sven
> --
> ==========================================================================
> ============
> Sven van 't Veer
> http://www.cachoeiro.net
> Java Developer
> [EMAIL PROTECTED]
>                                         _/_
> The answer                             /   \
>     to the ultimate question        nnn|.
> .|nnn                                     42
> =========================================U================================
> ============
>
> ==========================================================================
> =
> 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

Reply via email to