Re: Batch files from JSP

2006-08-02 Thread Bart Busschots
My advice would be to be more specific in the command you shell out with and directly call the perl executable. Something like: Process pr= rt.exec("c:\\Path_to_perl\\perl.exe c:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\sheet\\batch\\db.PL"); Bart. Akshay Ahooja wrote

Re: Batch files from JSP

2006-08-02 Thread Akshay Ahooja
Thanks for that... I went over that document and a few others on Google...the batch file is still not working out. Instead of a batch file if I try and execute a perl script (.PL) located on the host from a remote computer ... Process pr= rt.exec("c:\\Program Files\\Apache Software Foundation\\

Re: Batch files from JSP

2006-08-02 Thread Thomas Joseph
May be you can google "Java runtime exec" I found this one good. - http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html Hope this can help Thanks and Regards, Thomas Joseph Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin-682015 | India www.kottsoftware.com