ÎÒµÄJavaѧϰ֮·2009
-------------------------------2009Äê3ÔÂ19ÈÕ¿ªÊ¼-----------------------------
ÏÂÔØJDK Myeclipse Netbeans JBulider²¢°²×°
ËïöÎ »ù´¡½²½â
ÂíÊ¿±ø »ù´¡½²½â
ÂíÊ¿±ø ̹¿Ë´óÕ½ (µ¥»ú°æ±¾! °üÀ¨Í¼Æ¬°æ)
¹ù¿Ë»ª J2ME -----------------------------------2009Äê5ÔÂ2ÈÕ-------------------------------
ħÀֿƼ¼ Îå×ÓÆå
´«ÖDz¥¿Í Ì°³ÔÉß
´«ÖDz¥¿Í ¶íÂÞ˹·½¿é **ÎÊÌ⣺ÔÚÈÝÆ÷ÖÐÌí¼Ó°´¼ü£¬²¢ÇÒÖ¸¶¨°´¼üµÄλÖúʹóС ÏÂÔØ£º´«ÖDz¥¿Í ÕÅТÏé Servlet¿ª·¢ÈëÃÅ ---2009Äê5ÔÂ2ÈÕÍíÉÏ22£º00----- ¹Û¿´ ÉÐѧÌà ÂíÊ¿±ø --------È»ºóÊÇ̹¿Ë´óÕ½µÄÍøÂç°æ±¾ ¹Û¿´ÕýÔò±í´ïʽ-----------ÂíÊ¿±ø ----------------------------------------2009Äê5ÔÂ6ÈÕ-------------------------------
¹Û¿´ÂíÊ¿±ø ÁÄÌìϵͳ³ûÐÎ Íê³É
html
jsp
jsp + javabean
jsp + javabean + servlet
xmlÒ²Òª¿´¿´
struts1»ò2
spring
hibernate
¡£¡£¡£¡£¡£¡£¡£¡£ ------------------2009Äê5ÔÂ10ÈÕ-----------------------
½ñÌìÊDZȽÏÃÔãµÄÒ»Ì죬×òÌìÒ²ÊÇ°É¡£
ÕâÁ½ÌìûÓÐʲôÊÕ»ñ£¬¾ÍÊÇÔÚÕÒÈí¼þÏÂÔØ£¬°²×°¡£¡£¡£
µ«ÊÇÏÂÔØÁË°ëÌ춼²»ÖªµÀÔõôŪ¡£
ÏÈÊÇlomboz£¬ÓÖÊÇTomcat £¬ÓÖÊÇ jboss£¬ÓÖÊÇMysql£¬ ÓÖÊÇOracle
Ì«ÃÔãÁË£¬ÍêÈ«µÄÄ°Éú°¡¡£
¾ÍËãÊÇ¿´ÁËÊÓƵҲÊDz»»á×°°¡
ÒòΪÎÒ×ÜÊdzöÏÖÕâÑù»òÊÇÄÇÑùµÄÎÊÌ⣬ҲÐíÊÇÕâЩÈí¼þ²»ÄܼæÈݵÄÔµ¹Ê°É£¬
ËùÒÔÏÖÔÚÈ«²¿Ð¶ÔØÁË¡£
µÈ´ý´ÓпªÊ¼¡£¡£¡£
Ò»¾ä»°ºÜÄÍÈËѰζ°¡ ***ѧϰµÄ×î´óÕÏ°ÊÇÈí¼þµÄ°²×°¡£ ÕâЩÈí¼þ³öÆ·µÄ´ó¹«Ë¾¸ÃÏëÒ»ÏëÁË£¬ÎªÊ²Ã´Òª°ÑÈí¼þµÄ°²×°ÅªµÃÄÇôµÄ¸´ÔÓÄØ£¿
¼ò¼òµ¥µ¥¶àºÃ°¡¡£
Ñ¡Ôñ·¾¶£¬ÉèÖû·¾³±äÁ¿£¬ÉèÖù¤×÷Çø¼ä£¬ÉèÖÃÓû§£¬ÉèÖÃÃÜÂ룬ÉèÖÃÓïÑÔ£¬ÉèÖÃȨÏÞ£¬ÉèÖ÷þÎñ£¬ÉèÖÃ.....
ÄÇô¶à£¬¿ÉÊÇÎÒÈ´ÒòΪ¿ªÊ¼µÄÃÔ»ó¾Í²»µÃÇ°½øÁË¡£
ÎÒ»¹Ôڵȴý£¬µÈ´ýÓеãÖ¸µ¼²ÅÄÜÂõ¿ªÇ°½øµÄ²½×Ó¡£
¹Â·«Ô¶º½ÊǺÜÐÁ¿àµÄÊÂÇé¡£ÎÒÏëÇ°½øÒ»²½¶¼Òª¸¶³öºÜ´óµÄ´ú¼Û¡£
ÏÖÔÚѧϰÁ˽üÁ½¸öÔÂÁË£¬È·ÇеÄ˵ÊÇ50ÌìÁË¡£
Ò»²½Ò»²½×ß¹ýÀ´£¬×Ô¼ºÓкܶàµÄ¸Ð¿®£¬
3ÔÂ19ºÅµÄʱºòÎÒÖ»ÊÇÏëËÑË÷Ò»ÏÂʲô¹¤×÷±È½ÏºÃ£¬ÎÒ¿ÉÒ
Ïà¹ØÎĵµ£º
create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ
......
String : ×Ö·û´®ÀàÐÍ
Ò»¡¢¹¹Ô캯Êý
String(byte[ ] bytes)£ºÍ¨¹ýbyteÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
String(char[ ] value)£ºÍ¨¹ýcharÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
String(Sting original)£º¹¹ÔìÒ»¸öoriginalµÄ¸±±¾¡£¼´£º¿½±´Ò»¸öoriginal¡£
String(StringBuffer buffer)£ºÍ¨¹ýStringBufferÊý×é¹¹Ôì×Ö·û´®¶ÔÏó¡£
ÀýÈ磺
byte[] b = ......
Map´æ´¢µÄÊÇkey->valueµÄÖµ¶Ô£¬keyµÄÖµÊÇΨһµÄ£¬¶øvalueµÄÖµ¿ÉÒÔÖظ´¡£Í¨³£Ê¹ÓõÄÊÇHashMap»òTreeMap£¬Èç¹û¿¼ÂÇÐÔÄÜ£¬Ê¹ÓÃHashMap¡£TreeMapʹÓúìºÚÊ÷ʵÏÖ£¬±£ÁôÓÐkeyֵ˳ÐòÐÔ£¬»á×Ô¶¯°´ÕÕkeyÖµÅÅÐò¡£
ĬÈÏÊÇ°´ÕÕkeyÖµµÄÉýÐòÅÅÐò£¬keyÖµ±ØÐëʵÏÖ Comparator½Ó¿Ú¡£Èç¹ûÏ£Íû°´ÕÒÒ»¶¨¹æÔòÅÅÐò£¬ÔòÐèÒªÖØж¨Òåcompareº¯Êý ......
String s1 = “abc“;
s1Ö¸ÏòÁË“abc”
String s2 = new String(“abc“);
Éú³ÉÁ˶ÔÏónew String(“abc“);s2Ö¸ÏòÕâ¸ö¶ÔÏó£¬Õâ¸ö¶ÔÏóÒýÓÃÁË“abc”£»
equalsÒâÒåÊÇÅжÏÄÚÈÝÊÇ·ñÒ»Ö±ÒòΪs1ÄÚÈÝΪ“abc&rdq ......
Õ⼸ÌìÓöµ½ÁËjavaµÄpackageÎÊÌ⣨ÕâÖÖÎÊÌâÖ»ÊÇÔÚcmdÃüÁîÐÐģʽÏ»áÓöµ½£¬Èç¹ûÓÃeclipse¾Í²»»áÓÐÕâÖÖÎÊÌ⣩£¬°ÑjavaÖеÄpackage±àÒëÔËÐеÄÎÊÌâ×ܽáһϣ¬×÷Ϊ±¸Íü¡£
Ê×ÏÈ£¬Èç¹ûÄãÓÐÁ½¸öÀࣺ
£¨1£©A.java
import edu.ustc.*;
&n ......