Posted by À±°æ±¸ on March 13, 1997 at 10:49:37:
In Reply to: CGI programÀÌ¿ëÇϱâ posted by ±è´öÅ on March 13, 1997 at 03:11:21:
¾ÖÇø´ÀÇ init¿¡ ´ÙÀ½À» Ãß°¡Çß½À´Ï´Ù.
try {
URL cgiURL = new URL("http:/cgi-bin/user/startserver.cgi");
DataInputStream dis=new DataInputStream(cgiURL.openStream());
dis.close();
} catch (Exception e) {
System.out.println("Re-run server connection error"+e.toString());
}
#!/bin/sh
echo "Content-type: text/html\n\n"
java GenericServer &
echo "NULL DOCUMENT"