Right you are, this is a system call, sorry for the mislabeling. I will do
that. Thanks for the pointer.
-Original Message-
From: Mark Thomas
To: Tomcat Users List
Sent: Sun, Aug 1, 2010 10:07 am
Subject: Re: Calling a CGI script from Servlet
On 01/08/2010 13:19, troylpa
Yes, I mean /home/troy . . .
-Original Message-
From: Jason Pyeron
To: 'Tomcat Users List'
Sent: Sun, Aug 1, 2010 9:19 am
Subject: RE: Calling a CGI script from Servlet
> -Original Message-
> From: troylparr...@aol.com [mailto:troylparr...@aol.com]
> Sent: S
Mark,
Thanks for the reply. I am using Tomcat 6.0.20. The script is located in
WEB-INF/cgi and in the call I am using an absolute path:
//System Call
String[cmd] = {"python",
'home/troy/NetBeansProjects/GSMFilter/web/WEB-INF/cgi/helloWorld.py", "-c"};
Runtime rt = Runtime.getRuntime();
Proc
I am new to configuring tomcat (I have run it for a few years as it is
packaged with Netbeans) and new to linux and I am stuck on a particular problem.
I have a project in which I am trying to call a python code from a servlet. I
am using tomcat6 on Ubuntu 10.04. I have used both Runtime.exe