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

java×Ö·û´®±àÂëÀàÐÍ»ñÈ¡

http://xxw8393.blog.163.com/blog/static/37256834200910432656672/
Encoding.java
package org.loon.test.encoding;
/** *//**
 * <p>
 * Title: LoonFramework
 * </p>
 * <p>
 * Description:±àÂë»ù±¾ÀàÐͼ¯ºÏ
 * </p>
 * <p>
 * Copyright: Copyright (c) 2008
 * </p>
 * <p>
 * Company: LoonFramework
 * </p>
 * <p>
 * License: http://www.apache.org/licenses/LICENSE-2.0
 * </p>
 *
 * @author chenpeng
 * @email£ºceponline@yahoo.com.cn
 * @version 0.1
 */
public class Encoding ...{
    // Ö§³ÖµÄ×Ö·û¸ñʽ
    public static int GB2312 = 0;
    public static int GBK = 1;
   
    public static int BIG5 = 2;
    public static int UTF8 = 3;
    public static int UNICODE = 4;
    public static int EUC_KR = 5;
    public static int SJIS = 6;
    public static int EUC_JP = 7;
    public static int ASCII = 8;
    public static int UNKNOWN = 9;
    public static int TOTALT = 10;
    public final static int SIMP = 0;
    public final static int TRAD = 1;
    // ½âÎöÃû³ÆÓÃ
    public static String[] javaname;
    // ±àÂëÓÃ
    public static String[] nicename;
    // Ó¦ÓÃÓÚhtmlÖеÄ×Ö·û¼¯
    public static String[] htmlname;
    public Encoding() ...{
        javaname = new String[TOTALT];
        nicename = new String[TOTALT];
        htmlname = new String[TOTALT];
        javaname[GB2312] = "GB2312";
    &n


Ïà¹ØÎĵµ£º

TomcatÖÐJAVA¶¨Ê±Æ÷ʵÏÖ


Ô­ÎÄÁ´½Ó£ºhttp://badwing.javaeye.com/blog/674263
ÎÄÕ·ÖÀà:Java±à³Ì
ºÃ¶àÅóÓÑÓùýWindowsµÄÈÎÎñ¼Æ»®£¬Ò²Óв»ÉÙ³ÌÐòÃÔ×Ô¼ºÔøд¹ýʱÖÓ±¨¾¯¡¢ÏµÍ³×Ô¶¯¹Ø»úµÈȤζ³ÌÐò£¬¿ÉÈ´ºÜÉÙÓÐÅóÓÑÔÚWeb¹¤³ÌÖÐʵÏÖ¹ýÀàËƹ¦ÄÜ¡£ 
µ±Web¹¤³ÌÆô¶¯Ê±£¬¶¨Ê±Æ÷ÄÜ×Ô¶¯¿ªÊ¼¼Æʱ£¬ÔÚÕû¸öWeb¹¤³ÌµÄÉúÃüÆÚÀ¶¨Ê±Æ÷ÄÜÔÚÿÍíÉîÒ¹´¥·¢Ò»´ÎÈ ......

java ¾²Ì¬´úÂë¿é

                      £¨Ò»£©java ¾²Ì¬´úÂë¿é ¾²Ì¬·½·¨Çø±ð
Ò»°ãÇé¿öÏÂ,Èç¹ûÓÐЩ´úÂë±ØÐëÔÚÏîÄ¿Æô¶¯µÄʱºò¾ÍÖ´ÐеÄʱºò,ÐèҪʹÓþ²Ì¬´úÂë¿é,ÕâÖÖ´úÂëÊÇÖ÷¶¯Ö´ÐеÄ;ÐèÒªÔÚÏîÄ¿Æô¶¯µÄʱºò¾Í³õʼ»¯,ÔÚ²»´´½¨¶ÔÏ ......

JAVAÈÕÆÚ¸ñʽÎÊÌâ SimpleDateFormat·½·¨

1¡¢±ØÐëÒýÈ룺java.text.SimpleDateFormat
2¡¢ÉèÖÃÏÔʾ·½Ê½£¬µ÷ÓÃformat¸ñʽ¡£
    SimpleDateFormat sdf=new SimpleDateFormat("yyyyÄêMMÔÂddÈÕ");
     String date=sdf.format(blog.getCreatedTime());
    
     sdf=new  Simp ......

Javaµ÷ÓÃSybase´æ´¢¹ý³Ì

ÕªÖÁSybase¹ÙÍø:
The caller( ) method calls the stored procedure inoutproc:
create proc inoutproc @id int, @newname varchar(50), @newhome Address,
@oldname varchar(50) output, @oldhome Address output as

select @oldname = name, @oldhome = home from xmp where id=@id
update xmp set name ......

javaÓëģʽ ¶ÁÊé±Ê¼Ç£¨×ªÔØ£©

ÖйúÊÇÒ»¸öº¬ÐîµÄÃñ×壬´¦¶ÔÏóÒ»°ã¶¼µÃͨ¹ýÒ»¸ö½éÉÜÈË¡£
ÕâÊÇÒ»±¾²ûÊö΢¹ÛÉè¼ÆµÄÊ飬¶ø²»ÊDzûÊöºê¹ÛÉè¼ÆµÄÊé¡£
¡¶JavaÓëģʽ¡·Ê×ÏȲûÊöÁË´úÂëµÄÉè¼ÆÔ­Ôò£¬ÓÖÃèÊöÁËÔõÑùÀ´´´½¨Ò»¸öÀà»ò¶ÔÏ󣬽ô½ÓןæËß´ó¼ÒÔõÑùÀ´×éÖ¯ÕâЩÀàºÍ¶ÔÏóÀ´ÊµÏÖ¹¦ÄÜ¡£ËüÊÇÉè¼Æģʽ£¬¶ø²»ÊǼܹ¹Ä£Ê½¡£
OO
ÃæÏò¶ÔÏó±à³Ì£¬ÊµÖÊÉÏÊÇÃæÏò³éÏó±à³Ì£¬¼´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ