Invoking an application (exe), sending commands, CGI
Hello:
I am looking for a JSP code tutorial or example where they show how to invoke a program and send any commands or parameters to that program.
It is something similar to what this CGI in Perl does:
open (IDL,"| /usr/local/bin/idl");
print IDL"idl_libpath = '/users/ccc/IDL-Library-WL/'\n";
print IDL".compile /users/ccc/IDL-Library-WL/idl_addlib.pro\n";
print IDL"IDL_AddLib, DIRECTORY=idl_libpath + 'IDL_Lib/'\n";
print IDL"i = ",$values{"i"},"\n";
print IDL"m = ",$values{"m"},"\n";
print IDL"figfilen = '/dev/stdout' & path = '' & pp = 100\n";
print IDL"Plot_NJI,m=m,i=i,p=p,figfilen=figfilen,pp=pp\n";
print IDL"exit\n";
...Above invokes the IDL application and send commands to it..
-
Ok, on this page I found an info regarding to invoking a program --> http://www.glenmccl.com/tip_017.htm
Any help is extremely appreciated

