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

JavaÂÒÂëÔ­Òò

1¡¢Ò³Ãæ±àÂëÓëºǫ́Àà±àÂë²»Ò»Ö¡£
2¡¢ºǫ́ÀàÓëÊý¾Ý¿â½»»¥±£³ÖÊý¾Ýʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º¿ÉÒÔÔÚÇý¶¯µÄurl²ÎÊýÖÐÖ¸¶¨¡£
3¡¢¶ÁÎļþ/Á÷ʱ²úÉúÂÒÂë¡£½â¾ö·½·¨£º½¨ÒéʹÓÃFileReaderºÍFileWriterµÄ¸¸ÀࣺInputStreamReader/OutputStreamWriter£¬ËüÃÇÔÚ¹¹Ô캯ÊýÖпÉÒÔÖ¸¶¨±àÂëÀàÐÍ£ºInputStreamReader(InputStream in, Charset cs) ºÍOutputStreamWriter(OutputStream out, Charset cs)¡£
4¡¢ÔÚ´¦ÀíÀàÐÍ1ʱʹÓÃÁ˶à¸ö¹ýÂËÆ÷²úÉú³åÍ»£¬Ê¹¹ýÂËÆ÷ʧЧ¡£


Ïà¹ØÎĵµ£º

JavaÁ¬½Ó³Ø BoneCP 0.6.0 ·¢²¼

JavaÁ¬½Ó³Ø BoneCP 0.6.0 ·¢²¼
ÎÒÒª·¢²¼ÐÂÎÅ ÊղشËƪÐÂÎÅ ºìÊí ·¢²¼ÓÚ£º 2009Äê12ÔÂ28ÈÕ (6ÆÀ)
BoneCP ÊÇÒ»¸ö¿ªÔ´µÄ¿ìËÙµÄ JDBC Á¬½Ó³Ø¡£
0.6.0 °æ±¾µÄ¸Ä½øÄÚÈÝ°üÀ¨£º
1. Ôö¼Óͨ¹ý getAsyncConnection ·½·¨»ñÈ¡Òì²½Á¬½ÓµÄ¹¦ÄÜ
2. Ôö¼ÓÁËÊý¾Ý¿âÁ¬½ÓµÄ»Øµ÷¹³×Ó
3. Ôö¼ÓÁËÓÃÒÔÏòÊ״λñÈ¡µÄÁ¬½Ó·¢ËÍÒ»¸öÌض¨µÄÓï¾äµÄ¹¦Ä ......

ËĸöÓÐÓõÄJava¹ýÂËÆ÷ Filter¹ýÂËÆ÷µÄʹÓÃ

Ò»¡¢Ê¹ä¯ÀÀÆ÷²»»º´æÒ³ÃæµÄ¹ýÂËÆ÷     
import javax.servlet.*;    
import javax.servlet.http.HttpServletResponse;    
import java.io.IOException;    
   
/**   
* ÓÃÓÚµÄʹ Browser ²» ......

תÔØ java,gif,ºÏ³É,²ð·Ö,jpg,ͼƬÉú³É

Õ⼸ÌìÒ»Ö±ÔÚ×öͼƬ´¦Àí£¬ÆäÖÐÓöµ½ÁËһЩÎÊÌ⣬ÔÚÍøÉÏÒ²ÕÒµ½Á˽â¾ö°ì·¨£¨ËäÈ»²»ÊÇ×î¼ÑµÄ£©£¬ÔÚÕâÀﻹÊÇ×÷¸ö¼Ç¼°É¡£
1 ¶àÕÅjpgͼºÏ³Égif¶¯»­
/**
* °Ñ¶àÕÅjpgͼƬºÏ³ÉÒ»ÕÅ
* @param pic String[] ¶à¸öjpgÎļþÃû °üº¬Â·¾¶
* @param newPic String Éú³ÉµÄgifÎļþÃû °üº¬Â·¾¶
*/
private synchronized void jpgToGif(St ......

ʹÓÃJavaÔÚÎļþÀï²åÈëÒ»ÐÐ

ÔÚÎļþÀïÔö¼ÓÒ»ÐеÄΨһ·½·¨¾ÍÊǶÁȡԭʼÎļþ£¬È»ºóдÈëµ½Ò»¸öÁÙʱÎļþ£¬Í¬Ê±Ð´ÈëÒª²åÈëµÄÊý¾Ý¡£È»ºóɾ³ýԭʼÎļþ£¬ÔÙ°ÑÁÙʱÎļþ¸ÄÃûΪԭʼÎļþÃû¡£
package net.java2000.io; 
 
import java.io.BufferedReader; 
import java.io.File; 
import java.io.FileInputStream; 
import jav ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ