¸÷ÖÖ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
Ïà¹ØÎĵµ£º
ÒÔÇ°Óùý¼¸´ÎÕâ¸ö¶«¶«£¬µ«Ã¿´Î¶¼ÖØвéѯһ´Î¡£±¾ÎÄÔʼ³ö´¦ÊÇÕâÀï ¡£
£££££££££££££££££££££££££££££££££££££££££££££££££££££££££££
Keytool ÊÇÒ»¸öJava Êý¾ÝÖ¤ÊéµÄ¹ÜÀí¹¤¾ß ,Keytool ½«ÃÜÔ¿£¨key£©ºÍÖ¤Ê飨certificates£©´æÔÚÒ»¸ö³ÆΪkeystoreµÄÎļþÖÐÔÚk ......
×Ô¼ºÔÚ¹«Ë¾ÍøÕ¾¿ª·¢×ÜÓÃDWR¿ª·¢µÄÒ»¸ö¼òµ¥ÁÄÌì
±¾ÈËÒ²ÊÇÔÚÍøÕ¾¿ª·¢µØͼʱÓе½ÁËÕâ¸ö¼¼Êõ£¬¸ÕѧϰDWR°ë¸öÔÂ
¾Í°ÑËæÊÖдµÄÒ»¸ö¼òµ¥ÁÄÌìÀ´¸ø´ó¼Ò¹²Ïí£¬Çдèһϡ£
ÓÉÓÚ¿¼Âǵ½Ä³Ð©¾Ö²¿ÔÒò£¬Ö»·¢±íÁËһЩÖØÒª¼¼Êõ·½ÃæµÄ×ÊÁÏ£¬Ã»ÓаÑÈ«²¿¶«Î÷¹²Ïí¡£Çë¸öÈËÌåÁ¡£
ÓÉÓÚDWR2.0ÓиöBug £¬ÎÒÓõÄDWR1.0£¬µ«ÊÇ£¬Ëü±ØÐëÓÃJDK1.4
......
1 mysql´æ´¢´óÈÝÁ¿µÄ¶þ½øÖÆÎļþµÄ¸ñʽÊÇblob£¬Æäʵ³ýÁËͼƬ»¹¿ÉÒÔ´æ±ðµÄ
2 ÒªÏòÊý¾Ý¿â´æ´¢¶þ½øÖƵÄÎļþÒ»¶¨Òª°ÑÒª´æ´¢µÄÊý¾Ýת»»³É¶þ½øÖÆÁ÷
·Ï»°¾Í²»¶à˵ÁË£¬´ó¼Ò¿´¿´´úÂëºÜÈÝÒ×Ã÷°×£¬ÏÈÀ´¿´Ò»¸öapp³ÌÐò£¬µ±È»Ê×ÏÈÄúÒªÔÚÊý¾Ý¿âÖÐÏȽ¨Á¢Ò»¸öÓÃÓÚ±£´æͼƬµÄ±íºÍÏàÓ¦µÄÁУ¬Êý¾Ý¸ñʽΪblob
package ......
ÎÒÔÚ¼ÆËã»úÐÐÒµºÍÎÒµÄͼ±êÒ»Ñù»¹Ö»ÊÇÒ»¸öСº¢£¬µ±ÎÒÔÚÄÃϼÆËã»ú4¼¶£¨Èí¼þ²âÊÔ¹¤³Ìʦ£©ºÍ±àдÁ˲»ÉÙµÄͦcoolµÄ³ÌÐòÖ®ºó£¬¾õµÃ
×Ô¼ºË®Æ½²»Àµ¹þ¡£½á¹û¸Õ¿çÈëÒ»¸ö´ó¹«Ë¾ÊµÏ°µÄʱºò£¬ÎÒ¿´µ½ÎÒµÄÄǸöÏîÄ¿£¬ºÜ¿ìÎÒ±à³ÌµÄ˼άÓÖÔÚÌø¶¯£¬¿É“ÀÏ´ó”À´ÁËÒ»¾äc/c++ʵÏÖ
£¬ÎҾͷ·ðµ½ÁËÒ»¸ ......
ÓÃJava±àдӦÓÃʱ£¬ÓÐʱÐèÒªÔÚ³ÌÐòÖе÷ÓÃÁíÒ»¸öÏֳɵĿÉÖ´ÐгÌÐò»òϵͳÃüÁÕâʱ¿ÉÒÔͨ¹ý×éºÏʹÓÃJavaÌṩµÄRuntimeÀàºÍProcessÀàµÄ·½·¨ÊµÏÖ¡£ÏÂÃæÊÇÒ»ÖֱȽϵäÐ͵ijÌÐòģʽ£º
...
Process process = Runtime.getRuntime().exec(".\\p.exe");
process.waitfor( );
...&nb ......