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

¸÷ÖÖJavaÖÐÎÄתÂëµÄÀý×Ó£¬ÓÃÀ´¶Ô¸¶ÂÒÂë

 ¸÷ÖÖJavaÖÐÎÄתÂëµÄÀý×Ó£¬ÓÃÀ´¶Ô¸¶ÂÒÂë
public class HelloWorld
{
   public static void main(String[] argv){
     try{
       System.out.println("ÖÐÎÄ1");    //1
       System.out.println("ÖÐÎÄ2".getBytes());    //2
       System.out.println("ÖÐÎÄ3".getBytes("GB2312"));    //3
       System.out.println("ÖÐÎÄ4".getBytes("ISO8859_1"));    //4
       System.out.println(new String("ÖÐÎÄ5".getBytes()));     //5
       System.out.println(new String("ÖÐÎÄ6".getBytes(),"GB2312"));       //6
       System.out.println(new String("ÖÐÎÄ7".getBytes(),"ISO8859_1"));          //7
       System.out.println(new String("ÖÐÎÄ8".getBytes("GB2312")));//8
       System.out.println(new String("ÖÐÎÄ9".getBytes("GB2312"),"GB2312"));      //9
       System.out.println(new String("ÖÐÎÄ10".getBytes("GB2312"),"ISO8859_1"));        //10
       System.out.println(new String("ÖÐÎÄ11".getBytes("ISO8859_1")));                              //11
       System.out.println(new String("ÖÐÎÄ12".getBytes("ISO8859_1"),"GB2312"));             //12
       System.out.println(new String("ÖÐÎÄ13".getBytes("ISO8859_1"),"ISO8859_1"));   &nb


Ïà¹ØÎĵµ£º

javaÖÐKeytoolµÄʹÓÃ×ܽá

ÒÔÇ°Óùý¼¸´ÎÕâ¸ö¶«¶«£¬µ«Ã¿´Î¶¼ÖØвéѯһ´Î¡£±¾ÎÄԭʼ³ö´¦ÊÇÕâÀï ¡£
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
Keytool ÊÇÒ»¸öJava Êý¾ÝÖ¤ÊéµÄ¹ÜÀí¹¤¾ß ,Keytool ½«ÃÜÔ¿£¨key£©ºÍÖ¤Ê飨certificates£©´æÔÚÒ»¸ö³ÆΪkeystoreµÄÎļþÖÐÔÚk ......

JAVAÖÐDWR¿ª·¢ÏîĿʵս¾­Ñé


×Ô¼ºÔÚ¹«Ë¾ÍøÕ¾¿ª·¢×ÜÓÃDWR¿ª·¢µÄÒ»¸ö¼òµ¥ÁÄÌì
±¾ÈËÒ²ÊÇÔÚÍøÕ¾¿ª·¢µØͼʱÓе½ÁËÕâ¸ö¼¼Êõ£¬¸ÕѧϰDWR°ë¸öÔÂ
¾Í°ÑËæÊÖдµÄÒ»¸ö¼òµ¥ÁÄÌìÀ´¸ø´ó¼Ò¹²Ïí£¬Çдèһϡ£
ÓÉÓÚ¿¼Âǵ½Ä³Ð©¾Ö²¿Ô­Òò£¬Ö»·¢±íÁËһЩÖØÒª¼¼Êõ·½ÃæµÄ×ÊÁÏ£¬Ã»ÓаÑÈ«²¿¶«Î÷¹²Ïí¡£Çë¸öÈËÌåÁ¡£
ÓÉÓÚDWR2.0ÓиöBug £¬ÎÒÓõÄDWR1.0£¬µ«ÊÇ£¬Ëü±ØÐëÓÃJDK1.4
......

java´æ´¢Í¼Æ¬µ½Êý¾Ý¿â

1   mysql´æ´¢´óÈÝÁ¿µÄ¶þ½øÖÆÎļþµÄ¸ñʽÊÇblob£¬Æäʵ³ýÁËͼƬ»¹¿ÉÒÔ´æ±ðµÄ
2   ÒªÏòÊý¾Ý¿â´æ´¢¶þ½øÖƵÄÎļþÒ»¶¨Òª°ÑÒª´æ´¢µÄÊý¾Ýת»»³É¶þ½øÖÆÁ÷
·Ï»°¾Í²»¶à˵ÁË£¬´ó¼Ò¿´¿´´úÂëºÜÈÝÒ×Ã÷°×£¬ÏÈÀ´¿´Ò»¸öapp³ÌÐò£¬µ±È»Ê×ÏÈÄúÒªÔÚÊý¾Ý¿âÖÐÏȽ¨Á¢Ò»¸öÓÃÓÚ±£´æͼƬµÄ±íºÍÏàÓ¦µÄÁУ¬Êý¾Ý¸ñʽΪblob
package ......

ÎÒÓÃjava±»±ÉÊÓÁË

      ÎÒÔÚ¼ÆËã»úÐÐÒµºÍÎÒµÄͼ±êÒ»Ñù»¹Ö»ÊÇÒ»¸öСº¢£¬µ±ÎÒÔÚÄÃϼÆËã»ú4¼¶£¨Èí¼þ²âÊÔ¹¤³Ìʦ£©ºÍ±àдÁ˲»ÉÙµÄͦcoolµÄ³ÌÐòÖ®ºó£¬¾õµÃ
×Ô¼ºË®Æ½²»Àµ¹þ¡£½á¹û¸Õ¿çÈëÒ»¸ö´ó¹«Ë¾ÊµÏ°µÄʱºò£¬ÎÒ¿´µ½ÎÒµÄÄǸöÏîÄ¿£¬ºÜ¿ìÎÒ±à³ÌµÄ˼άÓÖÔÚÌø¶¯£¬¿É“ÀÏ´ó”À´ÁËÒ»¾äc/c++ʵÏÖ
£¬ÎҾͷ·ðµ½ÁËÒ»¸ ......

Javaµ÷ÓÃÅú´¦Àí»ò¿ÉÖ´ÐÐÎļþ

ÓÃJava±àдӦÓÃʱ£¬ÓÐʱÐèÒªÔÚ³ÌÐòÖе÷ÓÃÁíÒ»¸öÏֳɵĿÉÖ´ÐгÌÐò»òϵͳÃüÁÕâʱ¿ÉÒÔͨ¹ý×éºÏʹÓÃJavaÌṩµÄRuntimeÀàºÍProcessÀàµÄ·½·¨ÊµÏÖ¡£ÏÂÃæÊÇÒ»ÖֱȽϵäÐ͵ijÌÐòģʽ£º 
... 
Process process = Runtime.getRuntime().exec(".\\p.exe"); 
process.waitfor( ); 
...&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ