CGI
Posted: Mon Mar 27, 2006 2:22 pm
ok i have a uncompiled java program that I need to run as a website thingy. Do I need to compile it first or can I keep it uncompiled and compile it on the fly, basically which one is easier, speed does not matter.
Next question!
the .cgi file...how? Here is what I have kinda half arsed put together but I dont know what it does
where /home/shiznatix/cgi/ is the location of the .java file. The /usr/local... is supposed to be the location of my java compiler? I know that the location i have there is wrong but I dont know where it is located because I always just use the javac command. also, what is $QUERY_STRING?? Makes no sence to me...
Next question!
the .cgi file...how? Here is what I have kinda half arsed put together but I dont know what it does
Code: Select all
#!/bin/sh
cd /tmp
/usr/local/java/j2sdk1.4.2_02/bin/java -cp /home/shiznatix/cgi/
proov $QUERY_STRING