Re: Java as CGI - problem

1999-01-11 Thread Yves De Muyter
Install JServ:http://java.apache.org -Yves On Mon, 11 Jan 1999, Alexey Philimonov wrote: > Hi! > > I'm running website on RedHat Linux 5.1+Apache 1.3.3 and got a problem > trying to use Java program as CGI: > > - when I run java program from the shell as "java myclass" - output > is ok >

Re: Java as CGI - problem

1999-01-11 Thread Moses DeJong
You might need to set the CLASSPATH for you java program directly with the -classpath option from the CGI script. When the CGI is run it is forked() off from the server process so it will get the servers CLASSPATH not your shell CLASSPATH. This might be the reason your class works in the shell and

Java as CGI - problem

1999-01-11 Thread Alexey Philimonov
Hi! I'm running website on RedHat Linux 5.1+Apache 1.3.3 and got a problem trying to use Java program as CGI: - when I run java program from the shell as "java myclass" - output is ok - when I put the same command in shell script and run it - I perfectly get both script and Java output - when