[´äº¯]....


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

Posted by ¹®±Í³² on December 02, 1997 at 00:20:03:

In Reply to: ¹®±Í³²¾¾²² µµ¿òÀ»..... posted by ¼ÛÇÐ·Ä on November 30, 1997 at 06:31:41:

Áú¹®ÇϽŠÀÚ¹Ù½ºÅ©¸³Æ®´Â Àúµµ Àß ¸ð¸£´Â ±º¿ä.


±× ´ë½Å Á¦°¡ Á¶±Ý ÄÚµùÇÑ °ÍÀ» ¾Ë·Áµå¸®Áö¿ä.
Á¦°¡ ÀÛ¼ºÇÑ appletÀº id¿Í password¸¦ ÀÔ·ÂÇÏ¸é ¸ÕÀú µî·ÏÀÌ µÇ¾ú´ÂÁö¸¦
È®ÀÎÇÕ´Ï´Ù. ¸¸¾à id¿Í password°¡ 'root'ÀÎ °æ¿ì Àú´Â DB¿¡ id¿Í password
°¡ 'root'ÀÎ °æ¿ì name°ú number¸¦ 'root'·Î Çؼ­ client¿¡ º¸³À´Ï´Ù.
¾Æ·¡ÀÇ ÄÚµùÀº client applet»ó¿¡¼­ server·Î ºÎÅÍ ¹ÞÀº name°ú number°¡
¸ðµÎ 'root'ÀÎ °æ¿ì¿¡´Â »õ·Î¿î url»óÀÇ »õ·Î¿î html·Î °¡°Ô µË´Ï´Ù.
¾Æ·¡ÀÇ Äڵ忡¼­´Â java ¹¯°í ´äÇϱâ web page°¡ ¶ß°Ô µË´Ï´Ù.
'root'°¡ ¾Æ´Ñ °æ¿ì¿¡´Â À̸§°ú ÇйøÀ» textfield¿¡ Âï¾îÁÝ´Ï´Ù.


µµ¿òÀÌ µÇ¾úÀ¸¸é Çϳ׿ä....


if ( name_string.equals("root") && number_string.equals("root") )
{
String url ="http:/java/";
try
{
URL theURL = new URL(url);
getAppletContext().showDocument(theURL);
}
catch (MalformedURLException me) { }
}
else
{
name.setText(name_string);
number.setText(number_string);
memo.setText("Successfully Log in!!!");
}



Follow Ups:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


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