¼­¹ö ±¸µ¿ cgi


[ Follow Ups ] [ Post Followup ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

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());
}

Á¦´ë·Î ½ÇÇàÀÌ µÇ´Âµ¥ ¼­¹ö°¡ Á×À» °æ¿ì ½ÇÇàµÇ´Â ¶§¿¡´Â ¾ÖÇø´ÀÌ µð½ºÇ÷¹À̵Ǵ ¼Óµµ°¡ ¸¹ÀÌ ´À¸®³×¿ä.
cgiÀÇ ¹®Á¦Àϱî¿ä?
cgi´Â ÀÌ·¸°Ô °£´ÜÇѵ¥... À½...

#!/bin/sh
echo "Content-type: text/html\n\n"
java GenericServer &
echo "NULL DOCUMENT"



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]