Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

java £ºÁ½¸ö¶ÔÏóÏàµÈequalsºÍ==µÄÇø±ð

 String s1 = “abc“; 
s1Ö¸ÏòÁË“abc”
String s2 = new String(“abc“);
Éú³ÉÁ˶ÔÏónew String(“abc“);s2Ö¸ÏòÕâ¸ö¶ÔÏó£¬Õâ¸ö¶ÔÏóÒýÓÃÁË“abc”£»
equalsÒâÒåÊÇÅжÏÄÚÈÝÊÇ·ñÒ»Ö±ÒòΪs1ÄÚÈÝΪ“abc”£¬s2ÄÚÈÝҲΪ“abc”Òò´Ë·µ»Øtrue¡£
==ÊÇÅжÏÒýÓÃÊÇ·ñÒ»Ö£¬s1¡¢s2Ö¸Ïò²»Í¬ËùÒÔ·µ»Øfalse¡£
“abc”Ö»Éú³ÉÒ»´Î£¬¾ßÌåÊÇÉú³ÉÔڶѻ¹ÊÇÕ»²»Í¬ÐéÄâ»úʵÏÖÔ­Àí²»Í¬


Ïà¹ØÎĵµ£º

java»ñÈ¡SQL²éѯ½á¹û¼¯ÖеÄÐÐÊýºÍÁÐÊý

http://cheneyph.javaeye.com/blog/477829
         ÔÚJavaÖУ¬»ñµÃResultSetµÄ×ÜÐÐÊýµÄ·½·¨ÓÐÒÔϼ¸ÖÖ¡£
µÚÒ»ÖÖ£ºÀûÓÃResultSetµÄgetRow·½·¨À´»ñµÃResultSetµÄ×ÜÐÐÊý
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABL ......

java ·ºÐÍ

ÔÚ
Java SE1.5
ÖУ¬
Ôö¼ÓÁËÒ»¸öеÄÌØÐÔ£º·ºÐÍ£¨ÈÕ±¾ÓïÖеÄ×ܳÆÐÍ£©¡£ºÎν·ºÐÍÄØ£¿Í¨Ë×µÄ˵£¬¾ÍÊÇ·º·ºµÄÖ¸¶¨¶ÔÏóËù²Ù×÷µÄÀàÐÍ£¬¶ø²»Ïñ³£¹æ·½Ê½Ò»ÑùʹÓÃijÖ̶ֹ¨µÄÀàÐÍÈ¥Ö¸¶¨¡£
·ºÐ͵ı¾ÖʾÍÊǽ«Ëù²Ù×÷µÄÊý¾ÝÀàÐͲÎÊý»¯£¬Ò²¾ÍÊÇ˵£¬¸ÃÊý¾ÝÀàÐͱ»Ö¸¶¨ÎªÒ»¸ö²ÎÊý¡£ÕâÖÖ²ÎÊýÀàÐÍ¿ÉÒÔʹÓÃÔÚÀà¡¢½Ó¿ÚÒÔ¼°·½·¨¶¨ÒåÖС£
  ......

FlexÖÐXMLSocketÓëJavaÖÐSocketͨÐÅ

FlexÖÐXMLSocketÓëJavaÖÐSocketͨÐÅ£¬Óöµ½µÄÎÊÌâÊÇ£¬JavaÖеÄsocketÄܹ»½ÓÊܵ½XMLSocket´«ÊäµÄÊý¾Ý£¬µ«ÊÇFlex²¢²»ÄܽÓÊܵ½´ÓJava·þÎñÆ÷´«ÊäµÄÊý¾Ý£¬´ÓÍøÉÏËÑÁ˺öà×ÊÁÏ£¬ÖÕÓÚÕÒµ½ÁËÔ­Òò£¬Ô­À´XMLSocket ½ÓÊÕµ½·þÎñ¶ËÏ·¢µÄÊý¾Ýʱ£¬½«Á¬Ðø·ÅÓÚ½ÓÊÕ»º³åÇø£¬Ö±µ½½ÓÊÕµ½ "\0" ×Ö½Ú£¨×Ö½ÚÄÚÈÝΪ ASCII Öµ 0£©£¬²ÅÈÏΪ½ÓÊÕÍê³É£¬² ......

ext2.0+java ÎļþÉÏ´«


ÎļþÉÏ´«ÆäʵÊÇÒ»¸öºÜ»ù±¾µÄÒ³Ãæ²Ù×÷£¬ÒÔÇ°Ò²×ö¹ý¡£ÔÚjsp+servletʱ£¬¹Ø¼üµãÊÇÖ»ÒªÖ¸¶¨jspÓÃÓÚÌá½»ÉÏ´«Îļþ×ÊÔ´µÄformµÄenctypeÊôÐÔΪmultipart/form- data¼´¿É¡£Õâ¸öÊôÐÔ ÆäʵÊÇÉèÖÃÁËÌá½»µÄÄÚÈÝÊÇÒÔÊý¾ÝÁ÷µÄ·½Ê½Ìá½»¸øservletµÄ¡£µ±È»Ò²°üº¬ÁËÎļþµÄÁ÷£¬ÕâÑùÔÚservletÀïÀûÓÃcommon- fileupload.jarÀïµÄ½Ó¿Ú·½·¨£¬½âÎöÕâ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ