- From: steve nunez <Steve=Nunez%CS%Contractors@bangate.compaq.com>
- Date: Thu, 12 Sep 96 11:09:30 CDT
- To: <www-jigsaw@w3.org>
Has anyone run a java cgi program under Jigsaw?
Included with this message is a simple java-based cgi example that runs
well under most webservers, except for Jigsaw, under WinNT/95 (it also
fails under Solaris). It is invoked via a batch file (on the M$ platforms).
I've tested this on NCSA, Apache and the Netscape server, as well a number
of shareware Win95 webservers and all of them worked. Does anyone have an
idea as to why this is not working under Jigsaw? I need to be able to run a
(much more complex) legacy app in basically the same way. Basically the
batch file calls the java interpreter on the class file, which is located
in the cgi-bin directory along with the batch file.
I've configured the Jigsaw server properly. If I telnet to Jigsaw and talk
directly to it, I get an immediate close of connection when requesting this
file. I realize that the "right" way to do this would be to write a
resource for Jigsaw, but time is short and Jigsaw wasn't around when this
app was developed.
_Please_ respond to me via email at "snunez@netgate.compaq.com", since I
have not received a single message from the list since I signed up about
two weeks ago. I've received responses on other questions, so I must assume
that the postings are going out somewhere.
TIA,
- Steve Nunez
nph-test.bat
@echo off
c:\java\bin\java.exe test
and the test class:
import java.io.*;
public class test
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
Received on Thursday, 12 September 1996 13:18:57 UTC