´«ÖDz¥¿ÍJavaѧϰ JavaScript¼ÓÇ¿
ÎÒ½ñÌìѧϰÁËÙ¡ÀÏʦ½²µÄJavaScript½âÎöDomÎĵµµÄ֪ʶ£º
Ò»¡¢ ½Úµã·ÖΪ3ÖÖÀàÐÍ£¬ÔªËؽڵ㣬ÊôÐԽڵ㣬Îı¾½Úµã
¶þ¡¢ ²éÕҽڵ㣺
l js´úÂë²»ÄÜдÔÚbodyÔªËصÄÇ°Ã棬js ´úÂëдÔÚ <head> ½ÚµãÖÐ, <title> ½Úµãºó, ´ËʱÐèÒªÓõ½ js µÄ window.onload º¯Êý -- ¸Ãº¯ÊýÔÚÕû¸öÎĵµ¶¼¼ÓÔØÍê³ÉÖ®ºóÖ´ÐÐ.
l ½ÚµãµÄÊôÐÔ: nodeName: nodue: nodeType:
l ²éÕÒÔªËؽڵ㣬document.getElementById("bj");
l ²éÕÒÊôÐÔ½Úµã:: cityElement.getAttributeNode("bj")
l ²éÕÒÎı¾½Úµã: Îı¾½ÚµãÒ»¶¨ÊÇij¸öÔªËؽڵãµÄ×Ó½Úµã! Ïȵõ½ÔªËؽڵã , Ò»°ãÇé¿öÏÂ: Îı¾½Úµã¶¼ÊÇÔªËؽڵãµÄΨһµÄ×Ó½Úµã,¡¡ËùÒÔ¿ÉÒÔͨ¹ýÔªËؽڵãµÄµÄ lastChild(»ò firstChild) À´»ñÈ¡
Èý¡¢ ÐèÇ󣺵ã»÷<li>½Úµã£¬µ¯³ö¶ÔÓ¦µÄÎı¾ÄÚÈÝ£¬
l ʹÓÃdocument.getElementsByTagName("li")£»»ñÈ¡ËùÓеÄli½Úµã£¬ÔÙÌí¼Óclickʼþ£¬
ËÄ¡¢ ×ӽڵ㣺
l »ñÈ¡ËùÓеÄ×ӽڵ㣺childNodes( ) ,,»ðºüºÍIE¼ÆËãµÄ×Ó½ÚµãÊý²»Ò»Ñù£¬»ðºü½«Îı¾½ÚµãºÍ¿Õ°×½ÚµãÒ²¼ÆËãÔÚÄÚ£¬¶øIE²»°üº¬¿Õ°×µÄÎı¾½Úµã£¬
l ÅжÏÔªËØÊÇ·ñÓÐ×ӽڵ㣺haschildNode£¨£©£»
l ÐèÇ󣺵ã»÷li½Úµã£¬½ÚµãµÄÄÚÈÝ×Ô¶¯·ÅÔÚÊäÈë¿òÀïÃ棬
l ÐèÇ󣺵ã»÷liʱ£¬liµÄÎı¾±äΪ“^^±±¾©”£¬ÔÙµã»÷ʱ£¬ÓÖ±ä»ØÀ´¡£ ·½·¨Ò»£ºÊ¹ÓÃsubstr£¨£©£»
l ·½·¨¶þ£ºÊ¹ÓÃÕýÔò±í´ïʽ£¬
Îå¡¢ ´´½¨½Úµã£º
l ´´½¨ÔªËؽڵ㣺
i. &nb
Ïà¹ØÎĵµ£º
Finalizer ²»¿É¼Æ»®µÄ,Ò²ÊÇΣÏÕµÄ,Ò»°ãÒ²ÊDz»±ØÒªµÄ. ²»ÄÜÔÚfinalizerÖзÅÈκÎÓëÒÀÀµÊ±¼äÏà¹ØµÄ²Ù×÷,ÒòΪÄã²»ÖªµÀËüʲôʱºò±»Ö´ÐÐ. ±ÈÈçÔÚfinalizerÖйرÕÎļþµÄ×ö·¨¾ÍÊÇ´íÎóµÄ, ¸ù¾ÝJVMµÄʵÏÖ·½Ê½²»Í¬,ÓпÉÄܵ¼Ö´ò¿ªµÄÎļþÊý¹ý¶à¶øÎÞ·¨ÔÙ´ò¿ªÎļþ. Ò²²»ÄÜÔÚfinalizerÖиıä״̬,Èç¸øÊý¾Ý¿â½âËøµÈ. finalizer»¹ÄÜ´øÀ´Ñ ......
1.PreparedStatementÓëstatement±È½Ï
*°²È«ÐÔ£ºPreparedStatement°²È«£¬statement²»°²È«
*ÅúÁ¿Óï¾äµÄÖ´ÐУºPreparedStatementÖ´ÐÐЧÂʸߣ¬statementÖ´ÐÐЧÂʵͣ¬
*µ¥ÌõÓï¾äµÄÖ´ÐУºPreparedStatementÖ´ÐÐЧÂʵͣ¬statementÖ´ÐÐЧÂʸߣ¬
**********************************
´úÂëµÄ¿É¶ÁÐԺͿÉÎ ......
ÎÒ½ñÌìѧϰÁËÁ¬½Ó³Ø£¬ÊÇ·ëÍþÀÏʦ½²µÄ£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Êý¾Ý¿âÁ¬½Ó³Ø:
Ϊ½â¾ö´«Í³¿ª·¢ÖеÄÊý¾Ý¿âÁ¬½ÓÎÊÌ⣬¿ÉÒÔ²ÉÓÃÊý¾Ý¿âÁ¬½Ó³Ø¼¼Êõ¡£
Êý¾Ý¿âÁ¬½Ó³ØµÄ»ù±¾Ë¼Ïë¾ÍÊÇΪÊý¾Ý¿âÁ¬½Ó½¨Á¢Ò»¸ö“»º³å³Ø”¡£Ô¤ÏÈÔÚ»º³å³ØÖзÅÈëÒ»¶¨ÊýÁ¿µÄÁ¬½Ó£¬µ±ÐèÒª½¨Á¢Êý¾Ý¿âÁ¬½Óʱ£¬Ö»Ðè´Ó“»º³å³Ø”ÖÐÈ¡³öÒ»¸ö£¬Ê¹Ó ......
ÎÒ½ñÌìѧϰÁ˹ýÂËÆ÷£¨filter£©µÄ֪ʶ£¬ÊÇ·ëÀÏʦ½²µÄ¿Î£¬ÎÒ×öÁ˼òµ¥µÄ±Ê¼Ç£º
Servlet¹ýÂËÆ÷£¨Filter£©£º²»ÏÞ¶¨ÓÚ¾ßÌåµÄÐÒé
Ò»¡¢ ʹÓÃÀ¹½ØÉèÖÃÇëÇó×Ö·û±àÂ룬¹ýÂË·Ç·¨ÎÄ×Ö£¬ÑéÖ¤¿Í»§ÊÇ·ñÒѾµÇ½£¬
¶þ¡¢ ±àд¹ ......
ÎÒ½ñÌìѧϰÁËstruts¿ò¼ÜµÄ֪ʶ£¬×öÁ˼òµ¥µÄ±Ê¼Ç£º
Ò»¡¢ Action±êÇ©ÖÐÊôÐÔ £º
l AttributeµÄÖµ£¬Èç²»ÉèÖã¬Ä¬ÈÏֵΪaction±êÇ©ÖÐnameÊôÐÔµÄÖµ¡£
l &n ......