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

javaÖÐÈçºÎʵÏÖÎļþ´ò°üÉÏ´«ÒÔ¼°×Ô¶¯½âѹ


ÎÒÃÇÔÚ¿ª·¢ÏîÄ¿µÄʱºò,ÌØ±ðÊÇB/Sϵͳ,¾­³£»áÓöµ½ÒªÅúÁ¿ÉÏ´«ÎļþµÄÐèÇó,¶Ô´ËÐèÇóÒ»°ãÓÐÈçϼ¸¸ö½â¾ö·½°¸(ÒÔB/SΪÀý):
1. ÔÚ¿Í»§¶ËÌṩÎļþÉÏ´«½Ó¿Ú,Ò»´ÎÉÏ´«Ò»¸öÎļþ
2. Ò»´ÎÉÏ´«¶à¸öÎļþ
3. ½«ÐèÒªÉÏ´«µÄÎļþ´ò°ü,Ò»´ÎÉÏ´«µ½·þÎñÆ÷,²¢×Ô¶¯½âѹµ½Ö¸¶¨Ä¿Â¼
1,2·½·¨¶¼Óм¸¸öºÜÃ÷ÏԵIJ»×ã,Óû§¹¤×÷Á¿´ó,ÎļþÈç¹û¹ý´ó,ÔÚÍøÂç»·¾³ÖÐ,ÉÏ´«µÄЧÂʵÍÏÂ,ÁíÍâÎļþÔÚ²»Í¬µÄĿ¼,ÊÇÎÞ·¨½øÐÐÒ»´ÎÑ¡ÔñÉÏ´«µÄ.ËùÒÔ´ò°üÉÏ´«¾Í³ÉΪÁ˱ȽÏÁ÷ÐеÄÅúÁ¿ÎļþÉÏ´«µÄ½â¾ö·½°¸,ÏÂÃæ¾ÍÀ´Ò»ÆðÌÖÂÛÒ»ÏÂÔÚjavaÖÐÈçºÎʵÏÖ:
   Ö÷Òª¹¦ÄÜÐèÇó:
     a. ÉÏ´«Îļþ,½«Îļþ±£´æÔÚ·þÎñÆ÷
     b. ¶ÁÈ¡·þÎñÆ÷ÉÏѹËõÎļþ,½âѹµ½Ö¸¶¨Ä¿Â¼
   ÏÂÃæ¾ÍÕâÁ½¸öÐèÇó˵˵±àÂëʵÏÖ
ÉÏ´«: ʹÓÃÁËsmartupload¿ªÔ´³ÌÐò
    1. IUpload.java - (ÉÏ´«½Ó¿Ú,ÐèÒªjsmartupload.jar°ü)
import java.io.IOException;
import java.util.Hashtable;
import javax.servlet.ServletException;
import com.jspsmart.upload.File;
import com.jspsmart.upload.Files;
import com.jspsmart.upload.Request;
public interface IUpload {
     //Ö»ÄÜÉÏ´«Ò»¸öÎļþ
     public File getSingleUploadFile() throws MultiFileException,
             UploadFileIsMissingException;
     //ÅжÏÎļþÊÇ·ñ¶ªÊ§
     public boolean exists(File file);
     //±£´æÎļþ
     public int save(String targetFileName, int arg1) throws ServletException,
             IOException;
     //µÃµ½¾ø¶Ô±£´æÂ·¾¶
     public String getAbsoluteSavePath();
     //µÃµ½ÇëÇó
     public Request getRequest();
     //µÃµ½Îļþ
     public Files getFiles();
     //´¦ÀíËùÓвÎÊý,´¦ÀíÒ³ÃæÌá½»µÄÆäËû±íµ¥Êý¾Ý
     public Hashtable dealAllPara() throws Exception;
  


Ïà¹ØÎĵµ£º

Java³ý·¨½á¹û´øÐ¡Êý¡¢½øÒ»·¨µÄʵÏÖ

½øÒ»·¨£º ¼´Ê¡ÂÔµÄλÉÏÖ»Òª´óÓÚÁã¶¼Òª½øÒ»Î» £»
ËÄÉáÎåÈë·¨£º ¼´Ê¡ÂÔµÄλÉÏСÓÚÎå¶¼ÒªÉáÈ¥£¬µ«Ê¡ÂÔµÄλÉÏÂúÎå¶¼Òª½øÒ»Î» £»
»¹ÓÐÒ»ÖÖ
ȥβ·¨£º ¼´Ê¡ÂÔµÄλÉϲ»¹ÜÊÇ·ñÂúÎå¶¼ÒªÉáÈ¥ £»
1¡¢³ý·¨´øÐ¡Êý
ÀýÈ磺
  int a = 8;
  int b = 3;
  int c = ((double)la)/b;
  System.out.println(c); ......

ÓÅ»¯Java¶¯»­±à³ÌÖеÄÏÔʾЧ¹û

Java¶¯»­±à³ÌÓжàÖÖʵÏÖ·½·¨£¬µ«ËüÃÇʵÏֵĻù±¾Ô­ÀíÊÇÒ»ÑùµÄ£¬¼´ÔÚÆÁÄ»ÉÏ»­³öһϵÁеÄÖ¡À´Ôì³ÉÔ˶¯µÄ¸Ð¾õ¡£Java¶àÏ̼߳¼ÊõÊÇJava¶¯»­±à³ÌÖÐÆÕ±éÔËÓõļ¼Êõ£¬ËüÔÚ¿ØÖƶ¯»­³ÌÐòµÄÁ÷³ÌºÍ¶¯»­µÄÏÔʾЧ¹û·½ÃæÆð×ÅÖØÒªµÄ×÷Óá£Java¶¯»­±à³ÌÖе͝»­ÉÁ˸ºÍͼÏñ²Ðȱ²»È«µÈÏÖÏó£¬ÊÇJava³ÌÐòÔ±¾­³£Óöµ½µÄÎÊÌâ¡£±¾ÎÄÒÔ×÷ÕßÓ¦ÓÃʵÀý³ÌÐò ......

ÓÅ»¯JavaÖеÄÕýÔò±í´ïʽ

Ô­ÎĵØÖ·£º http://www.javaworld.com/javaworld/jw-09-2007/jw-09-optimizingregex.html
       
Èç¹ûÄ㻨·ÑÁËÊýСʱºÍÕýÔò±í´ïʽ×ö¶·Õù£¬Ö»ÊÇΪÁËÈÃËüÍê³ÉËü¼¸ÃëÄھͿÉÒÔÍê³ÉµÄÆ¥Å䣬ÄÇôÕâÆªÎÄÕÂÕýÊÇΪÄãÁ¿Éí¶¨×öµÄ¡£Cristian
MocanuÖ¸³öÁËÔÚʲôµØ·½ÕýÔòģʽƥÅä»á·¢ÉúÑÓ³Ù ......

Ãô½Ý¿ª·¢Öбàд¸ßÖÊÁ¿Java´úÂë

Ãô½Ý¿ª·¢Öбàд¸ßÖÊÁ¿Java´úÂë
2010-03-08 10:32
 | 
1709
´ÎÔĶÁ
 | 
¡¾ÒÑÓÐ9
ÌõÆÀÂÛ¡¿·¢±íÆÀÂÛ
À´Ô´£º±ÈÌØÍø À´Ô´£ºIBM/ÍõÓÀ¿ý
 | 
Êղص½ÎÒµÄÍøÕª
Ãô½Ý¿ª·¢µÄÀíÄîÒѾ­Á÷ÐÐÁ˺ܳ¤µÄʱ¼ä£¬ÔÚÃô½Ý¿ª·¢ÖеĿª·¢µü´ú½×¶ÎÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýÎå¸ö²½Ö裬À´ÓÐЧµÄÌá¸ßÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿¡ ......

JavaÖÐÎÄ×Ö·ûת»»Æ´Òô

½«´«ÈëµÄÈÎÒâÖÐÎÄ×Ö·ûת»»ÎªÆ´Òô
£¨1£©¶àÒô×ÖֻȡÆäÖÐÒ»¸ö¶ÁÒô¡£
£¨2£©ÉúƧ×ÖÈç¹ûûÓÐÆ´Òô£¬Ê¹ÓÃunknownÌæ´ú¡£
package com.amgotech;
public class ChineseSpelling
 {
   private static int[] pyvalue = new int[] { -20319, -20317, -20304, -20295, -20292, -20283, -20265, -20257, -20242, -20 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ