You can do that by using the Java Runtime.getRuntime().exec(command)
Where exec is the command on your file system.

-----Original Message-----
From: Alain Van Vyve [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 14, 2004 8:48 AM
To: Struts Users Mailing List
Subject: Calling CGI script



My application is using Struts in a Tomcat 4.1.29 environment.
I'm in a situation where an Action has to call a CGI script that will be

responsible to initiate a payment process (third party)

I have  found the way how to modify my Tomcat environment ... that's not

the issue !
My problem is : How can I call a cgi script in my action ?

Thank's

Alain


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to