1    <Connector port="80" maxHttpHeaderSize="8192"  2               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"  3               enableLookups="false" redirectPort="8443" acceptCount="100"  4               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="utf-8" />  5    <!-- Note : To disable connection timeouts, set connectionTimeout value  6     to 0 -->  7     8    <!-- Note : To use gzip compression you could set the following properties :  9    10               compression="on" 11               compressionMinSize="2048" 12               noCompressionUserAgents="gozilla, traviata" 13               compressableMimeType="text/html,text/xml" 14    -->
 1    <Connector port="80" maxHttpHeaderSize="8192"  2               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"  3               enableLookups="false" redirectPort="8443" acceptCount="100"  4               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="utf-8"  5                  compression="on"  6               compressionMinSize="2048"  7               noCompressionUserAgents="gozilla, traviata"  8               compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain"  />  9    <!-- Note : To disable connection timeouts, set connectionTimeout value 10     to 0 --> 11    12    <!-- Note : To use gzip compression you could set the following properties : 13    14               compression="on" 15               compressionMinSize="2048" 16               noCompressionUserAgents="gozilla, traviata" 17               compressableMimeType="text/html,text/xml" 18    --> 19
二,对于Apache而言åQŒæœ‰ä¸¤ç§æƒ…况    åQ‘)针对Apache2.0之å‰çš„ç‰ˆæœ¬ï¼Œå®ƒåŽŸæœ¬æ˜¯ä¸æ”¯æŒçš„åQŒä¸˜q‡å¯ä»¥é€šè¿‡æ·ÕdŠ ½W¬ä¸‰æ–¹çš„module_gzipæ¨¡å—æ¥å¯ç”?br />   åQ’)针对Apache2.0åŠä¹‹åŽçš„版本åQŒApacheæä¾›æ”¯æŒ, ä¸è¿‡ä¸å«gzipåQŒè€Œå«mod_deflate 下颞®±å¯¹Apache2.0åŠä¹‹åŽçš„版本作一个说æ˜?br />1) åŽÀLމ#LoadModule headers_module modules/mod_headers.soå‰é¢çš„æ³¨é‡?, 2) æ·ÕdŠ LoadModule deflate_module modules/mod_deflate.so 3) 在VirtualHost䏿·»åŠ?br />
1    <Location "/"> 2        SetOutputFilter DEFLATE 3        BrowserMatch ^Mozilla/4 gzip-only-text/html 4        BrowserMatch ^Mozilla/4\.0[678] no-gzip 5        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 6        SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary 7        Header append Vary User-Agent env=!dont-vary 8    </Location> 9
æˆ‘è¿™é‡Œé¢æœ‰ä¸€ä¸ªå®Œæ•´çš„æ¼”示
 1#Â åŠ è²deflateæ¨¡å— Â 2LoadModule headers_module modules/mod_headers.so  3LoadModule deflate_module modules/mod_deflate.so  4<VirtualHost *:80>  5    DocumentRoot f:/apacheTest  6    <Location "/">  7        SetOutputFilter DEFLATE  8        BrowserMatch ^Mozilla/4 gzip-only-text/html  9        BrowserMatch ^Mozilla/4\.0[678] no-gzip 10        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 11        SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary 12        Header append Vary User-Agent env=!dont-vary 13    </Location> 14</VirtualHost>
import java.util.Date; public class DateExample1 {     public static void main(StringåQ»ï¼½Â args)   {        // Get the system  date/time         Date date = new Date();          System.out.println(date.getTime());       } }Â
import java.text.SimpleDateFormat; import java.util.Date; public class DateExample2 {     public static void main(StringåQ»ï¼½Â args) { SimpleDateFormat bartDateFormat =           new SimpleDateFormat("EEEE-MMMM-dd-yyyy");         Date date = new Date();         System.out.println(bartDateFormat.format(date));     }  }
import java.text.SimpleDateFormat; import java.util.Date; public class DateExample3 {     public static void main(StringåQ»ï¼½args) {     // Create a date formatter that can parse dates of  the form MM-dd-yyyy.         SimpleDateFormat bartDateFormat = new SimpleDateFormat("MM-dd-yyyy");         // Create a string containing a text date to be parsed.         String dateStringToParse = "9-29-2001";         try {             // Parse the text version of the date.             // We have to perform the parse method in a             // try-catch construct in case dateStringToParse             // does not contain a date in the format we are expecting.             Date date = bartDateFormat.parse(dateStringToParse);             // Now send the parsed date as a long value             // to the system output.                System.out.println(date.getTime());          }         catch (Exception ex)     {                      System.out.println(ex.getMessage());         }       } }Â
import java.text.DateFormat; import java.util.Date; public class DateExample4 {     public static void main(StringåQ»ï¼½Â args) {     Date date = new Date();         DateFormat shortDateFormat = DateFormat.getDateTimeInstance(  DateFormat.SHORT, DateFormat.SHORT);          DateFormat mediumDateFormat = DateFormat.getDateTimeInstance( DateFormat.MEDIUM,DateFormat.MEDIUM);            DateFormat longDateFormat =         DateFormat.getDateTimeInstance(         DateFormat.LONG,         DateFormat.LONG);           DateFormat fullDateFormat =         DateFormat.getDateTimeInstance(         DateFormat.FULL,         DateFormat.FULL);           System.out.println(shortDateFormat.format(date));            System.out.println(mediumDateFormat.format(date));            System.out.println(longDateFormat.format(date));            System.out.println(fullDateFormat.format(date));     } }Â
]]>¾lˆäºŽæ‰‘Öˆ°exadel studio pro 3.03ç ´è§£äº?/title>http://www.aygfsteel.com/juhongtao/articles/12152.htmljavaGrowingjavaGrowingTue, 06 Sep 2005 00:47:00 GMThttp://www.aygfsteel.com/juhongtao/articles/12152.htmlhttp://www.aygfsteel.com/juhongtao/comments/12152.htmlhttp://www.aygfsteel.com/juhongtao/articles/12152.html#Feedback0http://www.aygfsteel.com/juhongtao/comments/commentRss/12152.htmlhttp://www.aygfsteel.com/juhongtao/services/trackbacks/12152.htmlExadel Studio Pro是一个基于Eclipseå¼€å‘环境的web应用开å‘åã^åŽÍ¼Œæ–°ç‰ˆæœ¬åŸºäºŽæ–°˜q‘å‘布的Eclipse 3.1。该工具æä¾›äº†å¯è§†åŒ–çš„web应用开å‘环境,òq¶æ”¯æŒå¤š¿Uå¼€æºæŠ€æœ¯ï¼ŒåŒ…æ‹¬JSFã€Strutsã€Hibernateå’ŒSpring½{‰ç‰ã€‚新版本æä¾›äº†å®Œå…¨æ‰€è§å³æ‰€å¾—çš„JSP™åµé¢è®¾è®¡å™¨ï¼Œä½¿webåº”ç”¨çš„å¼€å‘æ›´åŠ ç®€ä¾Ñ€?/FONT> Exadel Studio Pro For Windows v3.0.3 Final æ£å¼ç‰?BR>下è²åœ°å€:http://www.ttdown.com/SoftView/SoftView_31389.html 需è¦çš„æœ‹å‹èµ¶å¿«åŽÖM¸‹è½?BR>本地下è²:http://www.aygfsteel.com/Files/juhongtao/Exadel[1].Studio.Pro.v2.5.2.Cracked-FALLEN.ZIP