Java ¸´Ï°±Ê¼Ç_µÚ5Ìì
doGet()ºÍdoPost()
JspÒ³ÃæµÄform±êÇ©ÀïµÄmethodÊôÐÔΪgetʱµ÷ÓÃdoget(0,
Ϊpostʱµ÷ÓÃdoPost()
Jsp
JspÒýÇæ(Tomcat)ÏȽ«jspÎļþת»»Îªservlet£¬È»ºóµ÷ÓÃJava±àÒëÆ÷javac.exe¶Ô
Servlet´úÂë½øÐбàÒ룬°ÑËü±ä³É×Ö½ÚÂ루.classes£©Îļþ¡£È»ºóÔÙµ÷ÓÃjavaÐéÄâ»ú
Ö´ÐиÃ×Ö½ÚÂëÎļþ£¬×îºó½«½á¹û·µ»Ø¸øWebä¯ÀÀÆ÷¡£
Html×¢ÊÍ£º<!- -¿Í»§¶Ë¿ÉÒÔÔÚÔ´ÂëÖп´µ½- - >
Jsp×¢ÊÍ£º<%-- ¿Í»§¶ËÔ´Âë¿´²»µ½ --%>
<% ! int a=0; %> <%! String s = new String(“hello”) %> //ÒԷֺŽáÊø
IncludeÖ¸Á<%@ include file=”/footer.jsp” %>
Include¶¯×÷£º<jsp:include page=”baidu.jsp” />
±í´ïʽ£º<%=±í´ïʽ %>
JspµÄ¾Å¸öÄÚÖÃ(implicit)¶ÔÏó£ºout¡¢request¡¢response¡¢session¡¢application¡¢exception¡¢
Config¡¢page¡¢pageContext
Ïà¹ØÎĵµ£º
¡¡¡¡inkfishÔ´´£¬ÇëÎðÉÌÒµÐÔÖÊ×ªÔØ£¬×ªÔØÇë×¢Ã÷À´Ô´£¨http://blog.csdn.net/inkfish
£©¡£
¡¡¡¡Java Collections Framework(JCF)
ÊÇJava SEÖÐÒ»¸ö»ù±¾µÄÀ༯£¬¼¸ºõËùÓеÄÏîÄ¿¶¼»áÓõ½£¬ÆäÖеÄList
ÔòÊÇJCFÖÐ×î×î³£ÓõÄÒ»¸ö½Ó¿Ú¡£Î§ÈÆList
½Ó¿Ú£¬ÓкܶàʵÏÖ£¬ÖîÈç³£ÓõÄArrayList
¡¢LinkedList
¡¢Vector
¡¢Stack
£¬ ......
Ò»¡¢±³¾°
1¡¢µ±ÎÒÃǵÚÒ»´Î½Ó´¥Ä³¶Î´úÂ룬µ«ÓÖ±»ÒªÇóÔÚ¼«¶ÌµÄʱ¼äÄÚÓÐЧµØ·ÖÎöÕâ¶Î´úÂ룬ÎÒÃÇÐèҪʲôÑùµÄ×¢ÊÍÐÅÏ¢£¿
2¡¢ÔõôÑù±ÜÃâÎÒÃǵÄ×¢ÊÍÈß³¤¶øÇÒÁèÂÒ²»¿°ÄØ£¿
3¡¢ÔÚ¶àÈËÐͬ¿ª·¢¡¢Î¬»¤µÄ½ñÌ죬ÎÒÃÇÐèÒªÔõôÑùµÄ×¢ÊÍÀ´±£Ö¤¸ßÖÊ¡¢¸ß½»µÄ½øÐпª·¢ºÍά»¤¹¤×÷ÄØ£¿
¶þ¡¢ÒâÒå
³ÌÐòÖеÄ×¢ÊÍÊdzÌÐòÉè¼ÆÕßÓë³ÌÐòÔĶÁÕß ......
JavaÓïÑÔµÄÊäÈëÊä³ö¹¦ÄÜÊÇÊ®·ÖÇ¿´ó¶øÁé»îµÄ£¬ÃÀÖв»×ãµÄÊÇ¿´ÉÏÈ¥ÊäÈëÊä³öµÄ´úÂë²¢²»ÊǺܼò½à£¬ÒòΪÄãÍùÍùÐèÒª°ü×°Ðí¶à²»Í¬µÄ¶ÔÏó¡£ÔÚJavaÀà¿âÖУ¬IO²¿·ÖµÄÄÚÈÝÊǺÜÅÓ´óµÄ£¬ÒòΪËüÉæ¼°µÄÁìÓòºÜ¹ã·º:±ê×¼ÊäÈëÊä³ö£¬ÎļþµÄ²Ù×÷£¬ÍøÂçÉϵÄÊý¾ÝÁ÷£¬×Ö·û´®Á÷£¬¶ÔÏóÁ÷£¬zipÎļþÁ÷....±¾ÎĵÄÄ¿µÄÊÇΪ´ó¼Ò×öÒ»¸ö¼òÒªµÄ½éÉÜ¡£
¡¡¡¡Á ......
À¬»øÊÕ¼¯¼¸ºõÊÇÿ¸ö¿ª·¢ÈËÔ±¶¼Ï²°®µÄÒ»¸ö Java™ Æ½Ì¨ÌØÐÔ£¬Ëü¼ò»¯ÁË¿ª·¢£¬Ïû³ýÁËËùÓÐÖÖÀàµÄDZÔÚ´úÂë´íÎ󡣿ɾ¡¹ÜÀ¬»øÊÕ¼¯Ò»°ãÀ´Ëµ¿ÉÒÔÈÃÄúÎÞÐè½øÐÐ×ÊÔ´¹ÜÀí£¬ÓÐʱºòÄú»¹ÊDZØÐë×Ô¼º½øÐÐһЩÄÚÎñ´¦Àí¡£
ÏÔʽµØÊÍ·Å×ÊÔ´
Java ³ÌÐòÖÐʹÓõľø´ó¶àÊý×ÊÔ´¶¼ÊǶÔÏó£¬À¬»øÊÕ¼¯ÔÚÇåÀí¶ÔÏó·½Ãæ×öµÃºÜºÃ¡£Òò´Ë£¬Äú¿ÉÒÔʹÓÃÈÎ ......
JavaÖеķÃÎÊȨÏÞ¿ØÖÆ·ûÓÐËĸö.
×÷ÓÃÓò_____µ±Ç°Àà____ͬһpackage___×ÓËïÀà____ÆäËûpackage
public______√___________√__________√___________√
protected___√___________√__________√___________×
friendly_____√___________√__________×________ ......