¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç18
1.FileÀàΪ¹ÜÀíÎļþºÍĿ¼ÌṩÁË·½·¨£¬Æä¶ÔÏó±íʾһ¸öÎļþ»òÕßĿ¼¡£ËüÌṩÁËÈô¸É·½·¨¶ÔÎļþ»òÎļþ¼Ð½øÐвÙ×÷¡£ÆäÖеÄlist()·½·¨ºÍlistFiles()·½·¨¿ÉÒÔÆ𵽶¨Î»Ìض¨ÎļþµÄ×÷Óá£
2.ObjectÀ࣬ÊÇËùÓÐJavaÀàµÄ×æÏÈ£¬ÈôÒ»¸öÀàÉùÃ÷ʱûÓаüº¬extends¹Ø¼ü×Ö£¬ÔòÆäÖ±½Ó¼Ì³ÐÓÚObjetcÀà¡£ÆäÖÐÓÐÐí¶àÖØÒª·½·¨£º
equals(),notify(),notifyAll(),wait(),hashCode(),toString().finalize()
3.StringÀ࣬²»¿É±äÀ࣬һЩ¿´ÆðÀ´Äܹ»¸Ä±äStringµÄ·½·¨Æäʵ¶¼ÊÇ´´½¨ÁËÒ»¸ö´øÓз½·¨Ëù¸³ÓèÌØÐÔµÄÐÂString¡£StringBufferÀàΪ×Ö·û´®»º³åÀ࣬¿É±ä¡£
StringÀา¸ÇÁËObjectÀàµÄequals()·½·¨£¬¶øStringBufferûÓС£StringÀàµÄtoString()·½·¨ÊÇ·µ»Øµ±Ç°StringʵÀý±¾ÉíµÄÒýÓ㬶øStringBufferÀàµÄtoString()·½·¨·µ»ØµÄÔòÊǵ±Ç°»º³åÇøÖÐËùÓÐ×Ö·ûÄÚÈݵÄеÄString¶ÔÏóµÄÒýÓá£Ê¹ÓÃStringBuffer¿ÉÒÔ¼õÉÙJVM´´½¨String¶ÔÏóµÄ´ÎÊý£¬¼õÉÙ¶¯Ì¬·ÖÅäºÍ»ØÊÕÄÚ´æµÄ´ÎÊý£¬Ìá¸ß³ÌÐòµÄÐÔÄÜ¡£
4.StringÀàÖÐÓÐÈý¸ö¹ØÓÚÕýÔò±í´ïʽµÄ·½·¨£¬split()£¬replaceAll(),replaceFirst()¡£
5.°ü×°Àࣺ
1£©×÷ÓãºÌṩÁËһϵÁÐʵÓ÷½·¨¡£ÔÚ¼¯ºÏÖдæ·Å»ù±¾Êý¾ÝÀàÐÍʱֻÄÜʹÓðü×°Àà¡£
2£©¹¹Ôì·½·¨£º
ʹÓÃÆä»ù±¾Êý¾ÝÀàÐÍΪ²ÎÊý¹¹Ôì¡£
³ýCharacterÀàÒÔÍ⣬ÆäËûµÄ°ü×°À඼¿ÉÒÔÓÃÒ»¸ö×Ö·û´®À´¹¹Ôì¡£
¹¹ÔìBooleanÀàÐÍʱ£¬³ý·ÇÊÇtrue£¬·ñÔòµÃµ½µÄbooleanÀàÐÍÒ»¸ÅΪfalse¡£
3£©³£Ó÷½·¨£º
¶¼¸²¸ÇÁËtoString()·½·¨£¬ÒÔ×Ö·û´®ÐÎʽ·µ»Ø°ü×°¶ÔÏóËù±íʾµÄ»ù±¾ÀàÐÍÊý¾Ý¡£
NumberÀ඼ÓÐvalueOf(String s)µÄ¾²Ì¬¹¤³§·½·¨¡£¿ÉÒÔ½«×Ö·û´®½âÎöΪ°ü×°Àà¡£
NumberÀ඼ÓÐparseXXX(String s)µÄ¾²Ì¬¹¤³§·½·¨£¬¿ÉÒÔ½«×Ö·û´®½âÎöΪ»ù±¾Êý¾ÝÀàÐÍ¡£
4£©°ü×°À඼ÊÇfinalÀàÐÍ£¬ÎÞ×ÓÀ࣬²¢ÇÒÊDz»¿É±äÀà¡£
6.MathÀࣺÊýѧÔËËãÀà
7.RandomÀࣺÉú³ÉËæ»úÊý
8.DataÀࣺÒÔºÁÃëÊý±íʾÌض¨µÄÈÕÆÚ¡£sysout(new Date()) ·µ»ØϵͳÈÕÆÚ
9.DataFormatÀࣺÓÃÓÚ¶¨ÖÆÈÕÆڵĸñʽ¡£
10.CalendarÀࣺÉèÖúͶÁÈ¡ÈÕÆÚµÄÆäÖÐÒ»²¿·Ö¡£
11.BigDecimalÀࣺ¾«×¼¼ÆËã¡£
The End of ¡¶JavaÃæÏò¶ÔÏó±à³Ì¡·Ñ§Ï°±Ê¼Ç
Ïà¹ØÎĵµ£º
-
Êý¾Ý¿â²¿·Ö:
1.¾ÙÀý˵Ã÷Dynamic SQLµÄÔÀí¼°Ó¦Óã¿
2.¾ÙÀý˵Ã÷Êý¾Ý¿âË÷ÒýµÄÓÅȱµã£¿
3.Èç¹ûÓÉÄãÀ´Éè¼ÆÊý¾ÝµÄrollback,ÄãµÄ˼·ºÍ·½°¸£¿
4.¼ÙÉèÓÐÒ»¸ötable£¬ÃûΪpages£¬ÓÐËĸö×Ö¶Î,id ,url,title,body¡£ÀïÃæ´¢Á˺ܶàÍøÒ³£¬ÍøÒ³µÄurlµØÖ·£¬titleºÍÍøÒ³ÄÚÈÝ£¬ÓÃÒ»¸ö
sql²éѯ½«urlÆ¥ÅäµÄÅÅÔÚ×îÇ°Ã棬titleÆ¥ÅäµÄ ......
JavaÓïÑÔÖеĸÅÄî¾ÍÊǶ࣬Õâ»ØÓÖÓÐÁ½¸ö¸ÅÄÖØÔغÍÖØд¡£ÕâÊÇÁ½¸öиÅÄҲÊÇÁ½¸öÁî³õѧÕßÈÝÒ×»ìÏýµÄ¸ÅÄî¡£ËûÃǵĸÅÄî½ØÈ»²»Í¬£¬Ö»²»¹ý¶¼Óиö“ÖØ”×Ö£¬¾ÍÒÔΪÊǺÜÏñµÄ¡£ÏÂÃæ½âÊÍÒ»ÏÂÕâÁ½¸ö¸ÅÄ
·½·¨ÖØÔØ(overloading method) ÊÇÔÚÒ»¸öÀàÀïÃ棬·½·¨Ãû×ÖÏàͬ£¬¶ø²ÎÊý²»Í¬¡£·µ»ØÀàÐÍÄØ£¿¿ÉÒÔÏàͬҲ¿ÉÒÔ ......
»ñÈ¡classÀà·½·¨£º
1£¬getClass 2£¬Class.forName() 3,ÓÃ.class
public Field[] getDeclaredFields()
·µ»ØµÄÊÇij¸öÀàÀïµÄËùÓÐÀàÐ͵ıäÁ¿£¬²»°üÀ¨¼Ì³Ð¸¸ÀàµÄ
public Field[] getDeclaredFields(String name)
·µ»ØÌض¨Ãû×Ö
public Field[] getFields()
·µ»ØµÄÊÇij¸öÀàÀïµÄËùÓÐpublicÀàÐ͵ıäÁ¿£¬°üÀ¨¼Ì³Ð¸¸Àൠ......
function createTreeMenu(){//´´½¨Ò»¸öÊ÷µÄÃæ°å
var treeMenu = new Ext.tree.TreePanel({
lines : true,
minSize : 150,
border : false,
root : new Ext.tree.AsyncTreeNode({text : 'root'}),
loader : new Ext.tree.TreeLoader({dataUr ......
1.java¹ýÂËÆ÷¶ÔextÒì²½ÇëÇóÌøת
Óû§·ÃÎʳ¬Ê±
½â¾öÁ½ÖÖÇé¿öϵÄÓû§·ÃÎʳ¬Ê±¡£
a£©ÆÕͨhttpÇëÇóµÄsession³¬Ê±¡£
b£©Òì²½httpÇëÇóµÄsession³¬Ê±£¬Ê¹ÓÃextºó´ó²¿·ÖµÄ½çÃæˢж¼ÊÇÒì²½µÄajaxÇëÇó¡£
²»¹ÜÊÇÄÇÖÖÀàÐ͵ÄhttpÇëÇó×ÜÊÇ¿ÉÒÔÓÉÒ»¸ö¹ýÂËÆ÷À´²¶×½¡£
·ÖÀࣺÆÕͨhttpÇëÇóµÄheader²ÎÊýÖÐûÓÐx-requested-with: ......